Wolf-Dieter Fink [http://community.jboss.org/people/wdfink] created the discussion
"Re: Locking, Transaction, SFSB, 2 apps" To view the discussion, visit: http://community.jboss.org/message/639995#639995 -------------------------------------------------------------- As long you use a DB inside the transaction and lock the table (row) you will have such behaviour. The application(s) are not very scalable. You should decouple the key generation and use a different for each app. Or you might cache a couple of keys in each application outside this transactions (i.e. use a new transaction to refill the internal cache) Drawback is that you might loose some keys if the server goes down or crash. -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/639995#639995] Start a new discussion in Beginner's Corner at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
