A, C, D & E are correct answers.
B is incorrect: Passivation (serialization) skips the variables of the bean class which are declared as transient while storing the object on secondary storage.
By the completion of the ejbPassivate() method, all the nontransient fields (which will be saved) of the bean state must be one of the following:
1] A serializable object, that is, its class implements the Serializable interface.
2] Null.
3] A reference to an enterprise bean�s remote component (EJBObject) interface or remote home (EJBHome) interface.
4] A reference to an enterprise bean�s local component(EJBLocalObject) interface or local home (EJBLocalHome) interface.
5] A reference to a SessionContext object.
6] A reference to the bean�s JNDI context (for example, java:comp/env) or any of its subcontexts.
7] A reference to a user transaction interface: javax.transaction.UserTransaction.
8] A reference to a resource manager connection factory, for example, javax.sql.DataSource.
9] A reference to a javax.ejb.Timer object.
Hope this helps,
Thanks,
Mahesh
----------------------
SCJP 1.4 | SCWCD 1.4 | SCBCD 1.3 | SCEA Part I - In Progress
[ May 08, 2007: Message edited by: Mahesh Desai ]