The WeatherDataApp is an example JavaEE Servlet 4.0/JSP/HTML 5 web application that calls a US National Weather Service
web service API to return up to 7 days of forecast high and low temperatures starting from tomorrow for a selected set of locations in the USA.
The locations' latitudes and longitudes are set with the web.xml along with other initialization data that is read in when the application starts for optimal performance.

From the default InputValues.jsp page, the user can select one of 3 locations widely scattered around US states and territories: Boston, Mass., Adak, Alaska,
and the Bird Lookout on the US territory of Saipan in the South Pacific. Upon submission of the choice location, the application's WeatherDataServlet manages
the call to the National Weather Service API, parses the resulting XML, and passes resulting data objects for display into a human-readable table in the Results.jsp final page.

The app was developed in the Eclipse Photon version IDE, using Java 10, several Apache Commons libraries, log4j, and JDOM2. 
Its JSP pages make use of the Standard Tag Libraries. It was only tested in Tomcat 9, but since it is strictly conformant to JavaEE 8 it should work with any conformant
JavaEE application server.

Deploy the app in your application server by first zipping the WeatherDataApp_WAR directory, renaming it
WeatherDataApp.war, and then dropping it into the relevant directory of your application server.

XML parsing was tested in development, in part, by using the WeatherDataProcessor.main() method, with the NWSExample.xml as sample input.

Source code is also available in a parallel directory upon download, along with some screen shots and this README.txt.
You are free to use or modify this application as well as the ValidateConfigByClass...
===============================================
Copyright 2018 Harold Fortuin of Fortuitous Consulting Services, Inc.
You are free to use or modify this software and source code as long as you include this Copyright notice.
No warranty is provided or implied. Use at your own risk.

