Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Chapter 8 - HF study group

 
gayle craig
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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)...."

 
Ganeshji Marwaha
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • 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
  • 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*...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic