Announcement Announcement Module
Collapse
No announcement yet.
Share a spring bean on a Tomcat cluster Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 !

  • #2
    Is Terracotta a good solution to my problem please ?

    Comment


    • #3
      sorry I can't help you

      Comment

      Working...
      X