This text file accompanies the Weather.java source code that is part of the "Explore online XML data with Java programming" article that was published in the August 2002 issue of the IBM developerWorks journal. This code can be used to query weather observations from a server such as the National Oceanic and Atmospheric Administration (NOAA) site at http://weather.unisys.com.

To run the program, type java Weather at a command prompt. The program will say which inputs are required. For example, type "java Weather Miami" to get the weather observation for Miami. You may also get an exception if the default weather site is down or there is no internest connection available.

To build the program, compile with a Java Software Development Kit (SDK) 1.3 or later. You must also have the Java Enterprise Edition (EE) classes in your path to allow the XML parsers in the javax.xml.parsers and org.w3c.dom packages.

Good luck. Contact the IBM developerWorks journal at www.ibm.com/developerWorks/journal, the IBM developerWorks Java technology zone at www.ibm.com/developerWorks/java, or the author with any questions or problems.
