[jboss-user] [EJB3] - Re: Singleton in clustered JBoss AS 6 Final

Radim Hanus do-not-reply at jboss.com
Wed Jan 26 07:27:26 EST 2011

Radim Hanus [http://community.jboss.org/people/rhanus] created the discussion

"Re: Singleton in clustered JBoss AS 6 Final"

To view the discussion, visit: http://community.jboss.org/message/583276#583276

the combination of both @Singleton and @Clustered doesn't make up a clustered singleton bean

you need to set up a singleton service  http://docs.jboss.org/jbossclustering/cluster_guide/5.1/html/deployment.chapt.html#d0e1209 here is some backround for jboss-5.x should work in 6.0 as well
the simplest way is to package bean above into a separate archive and deploy it into deploy-hasingleton or use HASingletonControler and implement custom jboss service

Reply to this message by going to Community

Start a new discussion in EJB3 at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110126/1e7c57e8/attachment.html 

More information about the jboss-user mailing list