• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFEJB questions 7/8 page 369

 
rick collette
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, guys:

For question 7: why A is not correct and B is?

For question 8: why D and E are correct? If a bean still in ready state,
can it be removed or passivated?

thanks,
[ October 10, 2005: Message edited by: rick collette ]
 
Narayan R
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which chapter/page #, you are taking about?
 
rick collette
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, thanks for your reminder.


Originally posted by Narayan R:
which chapter/page #, you are taking about?
 
Narayan R
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for question 8 refer to the lifecycle diagram on page 324. its preety clear
 
Narayan R
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
About question 7, The container may create a bunch of beans and keep it in pool cven before the client call
When setEntityContext is been called the continer have no idea which Primarykey object the instance will get assigned to (later) . So it cannot call getEJBObject.
Thanks
 
rick collette
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, seems I need to spend more time reading the book and digest the details.


Originally posted by Narayan R:
About question 7, The container may create a bunch of beans and keep it in pool cven before the client call
When setEntityContext is been called the continer have no idea which Primarykey object the instance will get assigned to (later) . So it cannot call getEJBObject.
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic