This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can stateful session beans be re-entrant??

 
ravi inguva
Ranch Hand
Posts: 34
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic