jQuery in Action, 2nd edition
The moose likes EJB and other Java EE Technologies and the fly likes can stateful session beans be re-entrant?? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "can stateful session beans be re-entrant??" Watch "can stateful session beans be re-entrant??" New topic
Author

can stateful session beans be re-entrant??

ravi inguva
Ranch Hand

Joined: Feb 07, 2002
Posts: 34
can stateful session beans be re-entrant??
if so why with brief reasoning
Thanks in advance
Ravi.I


Sun Certified Java2 Programmer
Gerard Nik
Greenhorn

Joined: Aug 10, 2002
Posts: 9
Stateful Session Bean can never be rentrant. They throw an exception if a loopback is attempted.
Entity Beans can be rentrant.
Hari babu
Ranch Hand

Joined: Jun 25, 2001
Posts: 208
Hi,
They can never be re entrant because the ejbobject which intercepts the request can never decide whether the request is from the same thread or from diffrent thread. But Iam not sure how the entity beans are intellegent enuf to make this decision, when u make entity beans re entrant.
Hari
[ October 25, 2002: Message edited by: Hari babu ]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: can stateful session beans be re-entrant??
 
Similar Threads
Stateful sessionbean - Re-Entrant property clarification
reentrant tag
Re entrant
SF Session bean threading
�Session Beans vs Entity Beans�