[jboss-user] [EJB3] - Are EJB3 session bean calls always in the same thread?

Brianna Satinoff do-not-reply at jboss.com
Fri Mar 15 09:33:45 EDT 2013


Brianna Satinoff [https://community.jboss.org/people/bsonrisa] created the discussion

"Are EJB3 session bean calls always in the same thread?"

To view the discussion, visit: https://community.jboss.org/message/802938#802938

--------------------------------------------------------------
Suppose you have a class like this:


public class MyEJB {
     
     @EJB
     public OtherEJBLocal other;
 
     public void callSomething() {
          other.callAnotherMethod();
     }
}


Will the method call on the second EJB necessarily run in the same thread as the initial call to MyEJB.callSomething() ?
--------------------------------------------------------------

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

Start a new discussion in EJB3 at Community
[https://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/20130315/0057312f/attachment.html 


More information about the jboss-user mailing list