Brianna Satinoff
2013-03-15 13:33:45 UTC
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]
"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]