users@glassfish.java.net

Re: Concurrency in EE6

From: <glassfish_at_javadesktop.org>
Date: Fri, 23 Apr 2010 06:50:13 PDT

Good Afternoon Steven
You can use Bean Managed Concurrency (BMC) for your concurrency issues. In this way you can use "synchronized" in your singleton bean and this way the Application Server Container will no more responsible for managing concurrency issues.
This can be done through applying @ConcurrencyManagment on your SingletonSessionBean and setting it to BMC.
Bests
Youness
[Message sent by forum member 'youness_teimoury']

http://forums.java.net/jive/thread.jspa?messageID=398675