• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can stateful session beans be re-entrant??

 
ravi inguva
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can stateful session beans be re-entrant??
if so why with brief reasoning
Thanks in advance
Ravi.I
 
Gerard Nik
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic