This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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!