Hello,
Does anyone know any articles or books considering Java/J2EE programming in clustered environment? I have many question in my mind but following is the most relevant.
Is it possible to use ServiceLocator/Singleton as an cache in clustered environment? I should maintain a collection of data in a Singleton class read from database using an
EJB. That data could be changed by a Web client in applications' program code. What I have understood is that Singleton classes instances are different in every Clustered node's Web container. So, if this is true, how can I synchronize data if it's changing in one of the clustered node/Web Container?
Or is it possible to use EJB as an cache?
Anyone had this kind of situation...
Br Mik Laan