[jboss-user] [EJB 3.0] - Are EJB client proxies thread-safe?

henk de boer do-not-reply at jboss.com
Sun Apr 18 07:58:20 EDT 2010


henk de boer [http://community.jboss.org/people/henk53] replied to the discussion

"Are EJB client proxies thread-safe?"

To view the discussion, visit: http://community.jboss.org/message/538167#538167

--------------------------------------------------------------
Additionally in EJB 3.1 (JBoss AS 6), one can specify what needs to happen if multiple threads access the same client proxy simultaneously.

The default behavior in EJB 3 is to serialize access. In EJB 3.1 this is still the case for session beans other than a Singleton session bean, and obviously for non-asynchronous methods, but as an alternative you can now request that an exception is thrown instead.

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/538167#538167]

Start a new discussion in EJB 3.0 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/20100418/48ad726c/attachment.html 


More information about the jboss-user mailing list