Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMX and Singleton Objects

 
Sri Basavanahally
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

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.

Thanks !

-Sri
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!