• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sysnchronizing the bean's state with DB

 
Claudio Malso
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Which two callback methods can be used for synchronizing the bean's satte with the DB ?"
Aren't they ejbStore() and ejbLoad() ? Cos the right question of the test is ejbActivate() and ejbPassivate()...
I was reading the Monson-Haefel's EJB book and either in CMP or BMP, in the synch with DB load and store are used...any comments ?
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are correct it is ejbStore and ejbLoad. Do not put much faith in the various mock exams scattered across the Net. The are usually of a very poor quality, not similiar to the actual SCEA exam, and the answer is wrong as much as not.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic