Tip Bank

DevX - Software Development Resource

Emitting a Beep in Java

There are three ways to emit a beep in Java: Use an AU audio file: In Java, AU files need to be created at a sample rate of 8000. Higher

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

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

DevX - Software Development Resource

Loading an XSL Stylesheet into a Java Application

Often, XML documents specify XSL stylesheets in an xml-stylesheet processing instruction. One easy way to load this stylesheet into a Java application is to use the TransformerFactory.getAssociatedStylesheet method. Though this