The ejbCreate method of a stateless session bean can get a reference for EJBObject through SessionContext. So that means ejbCreate on the stateless session bean lying in pool is called when the client invokes a business method. Before that container just calls constructor and setSessionContext and places it in pool. Otherwise, if the sequence of constructor, setSessionContext and ejbCreate is called at containers will (before placing bean in the pool) than at that time EJBObject might not exist.
posted 13 years ago
Opps someone already posted this question thanks anyway