I have a basic doubt in terms of stateless session bean. We know that the creation of stateless session bean isot tied to any client, meaning, it can happen anytime when the container desires. Also, when the client invokes the create method on the remote home's stub, only then an instance of remote EJBObject's instance is returned back to the client. Again. this does not have any binding to the creation of the bean or the session context.
Now, my question is, if these two scenarios mentioned above are isolated events, then how is it possible to get the reference of EJBObject's stub through the session context instance, inside the ejbCreate method, during the invocation of which we may not have a EJBObject at all.
Thanks in advance! Srini :roll:
SCJP, SCWCD, SCBCD (EJB 2.x and EJB 3), OCA, SCDJWS