my dog learned polymorphism*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
 
Don't get me started about those stupid light bulbs.
 
subject: stateless session bean life cycle
 
Similar Threads
client security context
Create session bean stateless and stateful???
Byron's SCEA Preparation Exam: Question #2
Stateless Session Bean - Life Cycle
Obtaining transction reference for stateless session beans