This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: can stateful session beans be re-entrant??
 
Similar Threads
reentrant tag
Stateful sessionbean - Re-Entrant property clarification
SF Session bean threading
Re entrant
�Session Beans vs Entity Beans�