Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

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

scott.stark@jboss.org

2007-07-23


Therefore you could use a HASingleton. This singleton only runs on one node but is deployed on all other nodes via the deploy-hasingleton directory in order to provide failing over in case of a crash of the singleton-running server.

note that if you just implement a common singleton you should experience that this one will run on all of the cluster nodes as its deployed on all nodes via the deploy directory. could be possible that this is not a problem in your case but i wouldn't expect it to be.

i just experienced on my own ;)

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066566
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.