Weather Module
Submitted by andy on Sat, 10/27/2007 - 20:04.
Trinity Pawling School wanted to display local weather conditions on their home page. I created a custom controller servlet which looks up weather data from the NOAA’s XML feeds and parses it into a custom JavaBean which is then displayed in a view on the homepage. The view takes advantage of RTSB’s native cacheing functionality, and can be set to refresh itself at any desired interval. The controller accepts a three-letter airport code as a parameter, which will allow the weather module to be easily reused in future projects.
Image(s):

