wood burning stoves 2.0*
The moose likes JDBC and the fly likes Need mechanism for loading/refreshing variables which loaded from database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Need mechanism for loading/refreshing variables which loaded from database" Watch "Need mechanism for loading/refreshing variables which loaded from database" New topic
Author

Need mechanism for loading/refreshing variables which loaded from database

Tung Tran
Greenhorn

Joined: Jul 01, 2012
Posts: 2
Hello everyone,

I'm looking for the solution of loading/refreshing variables from database. I consider for static block and a static HashMap which contains the variables loaded from the database. But I'm confusing the issue when I reload the HashMap. Because my application might run on cluster environment. I'm afraid of refreshing couldn't apply on all the machines. Has anyone encountered this problem? Please give me some advices!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need mechanism for loading/refreshing variables which loaded from database