Hi All,
I just started preparing for the SCBCD. I have a question on the OID of Stateful Session Bean. As per the Spec when a Client calls the Create method on the Home Object following sequence of steps occur.
1. Creates a new
EJB Object
2. Create a Session Context Object
3. Creates a New Instance
4. calls setSesionContext
5. calls ejbCreate
My question here is why not steps 2 to 5 be performed by the EJB Object rather than EJB Home Object?.
Any restrictions on this? Am I missing something here?
Please refer the OID of Stateful Session Bean in EJB Spec (Figure 7) in case of any difficulty in understanding the above question.
Thanks,
Suresh R