Generating an order on the client

Designed to be implemented on the client, main( ) invokes the constructor of the OrderXML class to generate an XML Order from the SQL data. That constructor executes a select for the given date and customer ID, and assembles an XML Order document from the result.

import java.io.*;
import util.*;
public class Sql2OrderClient {
 	public static void main (String args[]) {
 		try{
 			xml.order.Order order = 
 			new xml.order.OrderXml("990704", "123","antibes:4000?user=sa");
 			FileUtil.string2File("Order-sql2Order.xml",order.getXmlText());
 		} catch (Exception e) {
 				System.out.println("Exception:");
 				e.printStackTrace();
 		}
 	}
 }