-
Mar 20th, 2012, 10:21 AM
#1
Share a spring bean on a Tomcat cluster
Hello,
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
#2
Is Terracotta a good solution to my problem please ?
-
Apr 23rd, 2012, 08:23 PM
#3
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules