• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

remove() method for stateless bean

 
Frank Sikuluzu
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Page 282 of "HF EJB" says "stateless session bena remove() ---- container does not call a bean's ejbRemove()."

Just wondering --- so what happens when a client calls "remove()" on that stateless bean's EJBObject stub ? how does the server remove the bean and what exactly triggers that ?
 
VP Jain
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Stateless Session Beans are created in a pool by the container after the application is deployed in the EJB Container.

Even if the client calls a remove() on a statless session bean, nothing happens, because the creation and removal of stateless session beans are managed by the EJB Container.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic