Bean things you can do from a stateless bean's ejbCreate() and ejbRemove() methods
posted 12 years ago
According to the book "Head First EJB" (p. 228) it is possible to use your SessionContext to get a reference to your EJB object from ejbCreate() and ejbRemove() for stateless session beans. Is this correct ? I thought a bean isn't linked to a particular EJB object until a client calls a business method. Then what EJB object would you get a reference to when ejbCreate() is invoked ?