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 have a situation where all users need (only read, no write) to have access to the same information.
My solution is to add the needed info to a bean and stuff it into the application scope, this way I don't need to stuff the bean into each request or session. However I also need to refresh this information at regular intervals. I'm worried that I may step on the object just when a user is trying to access this object, ie, it is not synchronized.
Is my initial solution correct for the situation and if so how would I take care of the synchronization issues.