I have several singleton objects in my web application. I use these to cache Data from a database at application startup time. The problem with this design is that if the data changes (which is not too frequent), my application has to be "restarted" manually.
Has anyone used something like JMX to automate this process ? OR any other method, that will update the singletons based on a change in data and keep it transparent to the user.
UP THE IRONS !
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop