September 2002
Intermediate to advanced
608 pages
14h 20m
English
Up to this point, our example application has behaved in a batch mode. When the application is started, it reads all of the data it needs, performs the necessary calculations, and then displays the results.
Now that we've started to support Web access to the application, we have to ask whether this still makes sense. For one thing, we may get many requests for the data from different users. It would be silly to recalculate the standings each time we get a page request, if the data has not changed. So in ServletOne we began caching the results of our calculations. But let's take that a step further. If the application is going to be up and running for a period of time, rather than just long enough ...
Read now
Unlock full access