March 6, 2007

Using the FOP-to-AWT Viewer

When you want to use the FOP-to-AWT Viewer from a Java application, you can use the ExampleAWTViewer.java. This application is available in the fop-0.20.5examplesembeddingjavaembedding directory. Using this class, you don’t have to develop the application from scratch. Just copy the application, rename it, and make the following replacements: //code to

Quickly Updating the URL in a Web Service

One common problem in Web service development occurs when the URL for a Web service changes. It would be ideal if you could configure this through a config file instead of having to update the Web reference and recompile the project. .NET provides a way to do this. All you

Remove MS SQL Server Completely

Microsoft has several different versions of SQL and occasionally an install fails or an upgrade fails and normal uninstallation is impossible. MS recommends that you use regedit to delete all the relevant keys. Unfortunately, this doesn’t always work, as some keys (for instance, SQL$) refuse to delete and indicate they

Javascript Errors in Firefox

Because browsers other than IE don’t create global variables for every part of the page/DOM, you need to qualify references to the form and its elements in non-IE browsers. You can do this either by creating a form reference and passing that to methods, or by using an absolute reference

Persistence Pays Offs: Advanced Mapping with JPA

he Java Persistence API is a new addition to the Java specification that updates Java’s method of performing object/relational mapping. In my first article on JPA, I explained the basics of JPA, how to map a one-to-one relationship, and how to query simple objects. In this article I’ll move on