posted 21 years ago
Hello,
On page 92-95 of Stateful Session Bean (Assume AdviceBean is a Stateful Bean according to the heading):
Step 5 shows that the actual bean is created first, and then Step 6 shows that an EJBObject is created after. I realize that the order may not matter in this case, however on page 100 of "Creating a Stateful Session Bean":
Step 4 shows an EJBObject is created first, then Step 5 shows the actual bean is created after. This is confusing, then I try to find out what's going on with the Spec, I realize that:
In EJB2.0 Spec, on page 83, it is shown in a sequence diagram that an EJBObject is created first, then the actual Bean is created after. In between them "SessionContext" is created. Thus, I think this is the correct behaviour, right?
Let me know, thanks,
John
=====================================<br />John Liang<br />SCJP2 1.4, SCWCD, SCBCD<br />Working on: WebLogic Architect, IBM Certified Enterprise Developer and Sun Certified Enterprise Architect