[jboss-user] [EJB 3.0] New message: "How to make some MDB singleton"
mariqn nenchev
do-not-reply at jboss.com
Wed Feb 24 11:03:26 EST 2010
User development,
A new message was posted in the thread "How to make some MDB singleton":
http://community.jboss.org/message/528247#528247
Author : mariqn nenchev
Profile : http://community.jboss.org/people/mnenchev
Message:
--------------------------------------------------------------
Hi, i know that this is totally against the idea of mdbs, but my mdb will update memcache so if messages come to fast the AS will create more than one mdb and they will try to update memcache simultaneously and this will blow. If i make my mdb singleton this will not happen, the mdb will update the memcache sequentially(i think). And although it is too frequently it will be sequentially, so i think it will work.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/528247#528247
More information about the jboss-user
mailing list