This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
We are having a web application deployed on tomcat but now we are going to deploy the same web application on different servers i.e. in clustered environment. We do have some classes implemented as Singleton. So, in clustered environment, the singleton functionality is going to break. Please let me know the feasible solution so that there will be just one instance every time for the object in the clustered environment.
Tell us a bit more about your situation, please. What do the singletons do that require they be singletons? Can you delegate that part to a central server, or would that violate your design requirements (or be too much for a central server to handle)?