November 10, 2001

Converting ResultSet to XML

Oftentimes, we need to convert ResultSets to XML for transferring data across different applications. Here is very simple code that transforms ResultSets into XML. import java.sql.*;import*;public class XMLWriter{ public

Get Nasdaq Quotes Online in your Java Program

This is a piece of my actual code. It’s rather self-explanatory. public static String quote(String symbol) { try { url = new “” + symbol); com.borland.xml.XmlData data =