"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
Joined: Jul 18, 2001
Posts: 2712
posted
0
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.