Hi,
I just read that the stateless session bean and the
EJB object will only be tied when the client calls a business method on the EJB object, NOT when the ejbCreate method is called. Which also means, I am assuming, the session context is tied to the bean, but, the session context has no idea about the EJB object.
Then on the next page, I read that within the ejbCreate method, one can use the session context to access reference to the home and the ejb object.
What I did not understand is that, when the ejbCreate method has no link with the EJB object, how can one access the EJB object's reference from within the ejbCreate method? It's only after the business method is called, the container pulls a bean out of the pool and links it with the client's ejb object.