Announcement Announcement Module
Collapse
No announcement yet.
spring in a clustered environment Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring in a clustered environment

    Hi

    I wanted to know if anyone has used spring in a clustered environment ? In case a spring application is deployed in a clustered environment , is there a single instance of the bean retrieved from the application context(assuming that the bean is configured to be a singleton in the XML file) across all the clusters or is there a single instance in every node in the cluster ?

    Are there any tips/gotchas to be considered while developing a spring app in a clustered environment .

    Please advise.

    Thanks

    Keith

  • #2
    If you're talking about a servlet clustered environment, then typically in such a setup the Servlet sessions are clustered.

    The typical ApplicationContext that is loaded via ContextLoaderListener has nothing to do with any http session, so the long and the short of it is that it would not be clustered...

    Comment

    Working...
    X