I know that a Stateful EJB can be accessed concurrently by a particular client. The container is serializing the requests and execute them one after another.
The question is - can you set the EJB container to let the concurrent access to the SFSB?
I know that I have a @AccessTimeout
which allows me to configure that the SFSB may be accessed at the same time more than once by the particular client. However, it allows me to specify that the concurrent access is not allowed at all or let the container serialize the requests.
Does the EJB specification forbids such thing? I know I can achieve concurrent access with the Singleton EJB using @ConcurrencyManagement
, but I'm just curious if it's possible to set some vendor-specific configuration property to allow such behavior for SFSBs.
Thanks in advance!
Just last month a JIRA issues was filed that proposes exactly this: http://java.net/jira/browse/EJB_SPEC-24