wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes stateless session bean life cycle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "stateless session bean life cycle" Watch "stateless session bean life cycle" New topic
Author

stateless session bean life cycle

sanpra sing
Greenhorn

Joined: Aug 28, 2002
Posts: 15
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: stateless session bean life cycle