[jboss-user] [EJB3] - Re: Singleton in clustered JBoss AS 6 Final
Ilya Sorokoumov
do-not-reply at jboss.com
Tue Jan 25 10:06:26 EST 2011
Ilya Sorokoumov [http://community.jboss.org/people/ilya40umov] created the discussion
"Re: Singleton in clustered JBoss AS 6 Final"
To view the discussion, visit: http://community.jboss.org/message/583088#583088
--------------------------------------------------------------
I guess you can try this:
As all the data in a singleton should be the same in all nodes. You can just use some flag inside you singleton and if this flag shows that action has been already executed today you can simply skip it on the other nodes.
Does it work for you?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/583088#583088]
Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110125/d044a8a0/attachment.html
More information about the jboss-user
mailing list