Page 228 of HFEJB
Bean things that you can do from stateless bean methods:
In the ejbCreate() and ejbRemove() methods,
a) get a reference to your home
b) get a reference to your
EJB object
I can understand (a). But I am not able to understand how (b) can be done.
When ejbCreate() is called by the container, there is no EJBObject in the picture. My understanding is that the ejbCreate() and the client call are not tied to each other for a stateless session bean - the container decides when to create beans.
How can we get a reference to EJB object using my session context in this case? Can someone please explain? I am not sure if my understanding is right.