[jboss-user] [EJB 3.0] New message: "@Serivce : Singelton EJB and reetrant calls"
Daniel Straub
do-not-reply at jboss.com
Mon Feb 1 03:14:55 EST 2010
User development,
A new message was posted in the thread "@Serivce : Singelton EJB and reetrant calls":
http://community.jboss.org/message/523254#523254
Author : Daniel Straub
Profile : http://community.jboss.org/people/dastraub
Message:
--------------------------------------------------------------
@Service means, there is only one instance of this EJB - ok.
EJB Spec. 4.7.11 says, the container must ensure that only one thread can be executing an ejb-instance (non reentrant instances).
If I use an @Service, does the container serials all calls to this EJB ? Or throws an javax.ejb.ConcurrentAccessEcxeption ?
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/523254#523254
More information about the jboss-user
mailing list