Hi all,
I am preparing for SCBCD exam using "Head First EJB" as a textbook (excellent book, thanks a lot to the authors). One question keeps puzzling me.
The
EJB spec says that the EJBObject can be accessed from ejbCreate method of stateless sb ( using sessionContext#getEJBObject() method). What EJBObject are we accessing??? The stateless sb creation is not linked to the client's call to create, and therefore at the time of container executing an ejbCreate method on the stateless sb there is no EJBObject (i.e. no client).
I'd greatly appreciate if you could shed some light on this issue.
Thanks a lot.
Alex (SCJP 1.4, SCBCD 1.3, SCWCD 1.4, SCJD 1.4)