Results 1 to 3 of 3

Thread: Share a spring bean on a Tomcat cluster

  1. #1
    Join Date
    Nov 2011
    Posts
    3

    Default 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. #2
    Join Date
    Nov 2011
    Posts
    3

    Default

    Is Terracotta a good solution to my problem please ?

  3. #3
    Join Date
    Apr 2012
    Posts
    1

    Default

    sorry I can't help you

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
  •