Only 49 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

calling staeful session bean URGENT PLEASE  RSS feed

 
Giri Prasad
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
I am trying to make a call to stateful bean from a stateless bean. I am getting the exception BeanNotReentrantException when calling remove() on the stateful bean.
Any advise!!!
Thanks
 
Geeta Ramasami
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
ejbRemove() is just used to dissociate ur bean instance from then EJBObject and it will not remove the bean instance from the memory.
I think calling the ejbRemove() in stateful bean results in loopback call to stateless bean whoch is not allowed as u wud have specified
the re-entrant property as false in the DD..So ensure that it doesn't result in loopback.
Cheers
Geeta
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!