aspose file tools*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
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 ]
 
 
subject: can stateful session beans be re-entrant??