Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need mechanism for loading/refreshing variables which loaded from database  RSS feed

Tung Tran
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!