• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Doubt in kathy's Book

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
cowbird
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic