I just start reading Head Frist EJB, I feel it has a conflicting information.On page 94, chap2 it says when homeobject recieves a create()call,the service kicks in and creates a bean object frist and then EJB Object but in page 100 it says EJB object is created frist and then Bean is instantiated. Which is true or it depends on EJBserver.
posted 13 years ago
According to the specs, the container first creates a new EJB(Local)Object, then a new SessionContext and finally a new bean instance. (spec 7.7.2, page 83).
So i guess HF page 100 is correct and page 94 has mixed up bean and EJBObject creation...