• 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
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Chapter 8 - HF study group

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For discussion of Head First EJB's Chapter 8.

Other Chapter discussions:
1 2 3 4 5 6 7
[ March 20, 2005: Message edited by: gayle craig ]
 
gayle craig
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
p 447 Sharpen your Pencil

Which ones does the compile care about?

1. ejbCreate()
2. onMessage()
3. ejbRemove() and setMessageDrivenContext()

I say #2 and #3?
 
gayle craig
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If message beans don't have homes, why does p. 453 say:

"... Remember, the Container keeps a separate pool of beans for each home (and every deployed bean type gets its own home)...."

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by gayle craig:
p 447 Sharpen your Pencil

Which ones does the compile care about?

1. ejbCreate()
2. onMessage()
3. ejbRemove() and setMessageDrivenContext()

I say #2 and #3?



I think that is correct. coz, ejbCreate() is just mandated by ejb spec. So, the container might throw an error during deploy time maybe.
 
Ganeshji Marwaha
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by gayle craig:
If message beans don't have homes, why does p. 453 say:

"... Remember, the Container keeps a separate pool of beans for each home (and every deployed bean type gets its own home)...."



I would assume, the term *home* is used to represent a *bean type*... So, the container keeps a separate pool of beans for each *bean type*...
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic