Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJBObject.remove() for Stateless session bean

 
Prashant Neginahal
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

What will happen if u call remove() on statless session bean? In container, an association between EJBObject and bean(in pool) happens only when client calls business method.So, if client directly call remove(), which bean will be removed?

Thanks,
Prashant
 
Chengwei Lee
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Prashant Neginahal:
Hi All,

What will happen if u call remove() on statless session bean? In container, an association between EJBObject and bean(in pool) happens only when client calls business method.So, if client directly call remove(), which bean will be removed?

Thanks,
Prashant


This question had been asked & answered before. For stateless session beans, the clients have no say over the removal of the beans. For a detailed explanation, do a quick search on the forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic