• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in kathy's Book

 
Raj Neets
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Guys

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.

Raj
 
Jef Cumps
cowbird
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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...

Greetz, Jef
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic