File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes stateless session bean's tie to its body guard Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "stateless session bean Watch "stateless session bean New topic
Author

stateless session bean's tie to its body guard

Jiang Lin
Greenhorn

Joined: Mar 03, 2004
Posts: 6
In HFE on page 227, in reference to stateless session bean, the container says that "I will NOT tie a bean to the client's EJB object until the client gets serious and calls a business method". But one the page 228, the book also says that a stateless session bean can get a reference to its EJB object (through SessionContext") inside "ejbCreate" and "ejbRemove" method. I cannot understand how a stateless session bean can get a reference to its body guard, i.e. EJBObject, before it's tied to one yet.
Reid M. Pinchback
Ranch Hand

Joined: Jan 25, 2002
Posts: 775
related recent thread


Reid - SCJP2 (April 2002)
Jiang Lin
Greenhorn

Joined: Mar 03, 2004
Posts: 6
Thanks, Reid.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: stateless session bean's tie to its body guard