File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need mechanism for loading/refreshing variables which loaded from database

Tung Tran
Posts: 2
  • 0
  • 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!
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic