|
This JSP reads real time wind gust information from a NOAA bouy outside of of Monterey Bay, on the California coast. The information is passed into a chart bean, which constructs the chart. This page also illustrates a technique for optimizing data sources that might be shared or that don't change often. The data sources are placed into an "application scope" bean that is only updated hourly, the frequency of our data acquisition from the buoy. Since we can display this chart without re-reading the buoy data, this means that a page refresh will be nearly instantaneous, as would another user's view of the same page. |