For stateful session beans, container makes the
EJB object and SessionContext. Then container creates the bean instance. Container calls setSessionContext() link the bean to its context.
Also the container links the bean to its EJB object by calling ejbCreate(). Is this correct? if not when is ejbCreate() called?
For stateless session beans, when exactly is ejbCreate() method called?
I ask this question because, in HFEJB it is mentioned that bean can get a reference to its EJBObject from ejbCreate() method for a stateless bean. How is that possible? can anyone please clarify?
Thanks in advance.
Palak Shah,<br />SCJP (85%), SCWCD (84%), SCBCD (95%).