Mar 20th, 2012, 10:21 AM
Share a spring bean on a Tomcat cluster
I'm working on a java/Spring application. One bean is used to manage datas in a map and push async messages
when a data is removed from the map. This working quite well but I wonder how this can work if I have to put several tomcat in cluster on a production environment later.
Now, a synchronized method allow users to add/get/remove datas in the map (which is a field of the bean).
As it works well, I would like to know the easiest way to share this bean between several tomcat server ?
Thank you very much for your help !
Mar 21st, 2012, 08:15 AM
Is Terracotta a good solution to my problem please ?
Apr 23rd, 2012, 08:23 PM
Tags for this Thread