posted 19 years ago
I do not understand how Statelless SessionBean's ejbCreate() method can have
access to get a reference to its EJBObject?
My understanding is that...
1. Container creates Statelless SessionBean with executing newInstance,setSessionContext,ejbCreate
2. When client invokes create method in EJBHome, it creates
EJBObject, pulls one bean instance from pool, assign EJBObject-Bean
instance link and then returns stub for EJBObject
If this is true, ejbCreate() is executed before bean knows its EJBObject.
So, I do not understand how Statelless SessionBean's ejbCreate() method can have access to get a reference to its EJBObject?
Vaithiyanathan Sundaram<br />SCJP, SCBCD, SCEA part1