[jboss-user] [Clustering/JBoss] - :: Singleton Object in clustered Environment ::

BhaktavatsalamReddy do-not-reply at jboss.com
Mon Jul 16 14:40:26 EDT 2007


I'm writing a singleton class which would be used in a web application in the cluster environment. Does somebody know what is the behavior of a singleton object in a cluster environment?

I think there could be 2 possible behaviors:

1)The singleton object is kept in all the server instances.
2)The singleton object is kept only in the server it was created.

If somebody knows the answer or has some address, I would appreciate it.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064680#4064680

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064680

More information about the jboss-user mailing list