Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

stateless session bean life cycle

 
sanpra sing
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The j2ee developers guide describes two states for a stateless session bean. Non existent state (NES)and the ready state. From NES two methods are called in the transition to ready state. These are setSessionContext and ejbCreate. From ready to NES only one method, ejbRemove is called.
Comparing this with the stateful session bean life cycle, the create method of the home interface is indicated when transitioning from NES to ready and the remove method of the remote interface is indicated when transitioning from ready to NES.
Why is these two methods not indicated in the stateless session bean life cycle?
thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic