32. Which are true about Session bean passivation?
A) Passivation always uses Serialization.
B) A bean can be removed even while in a passivated state.
C) A bean can be passivated even while in a transaction.
D) Both stateless and stateful session beans can be passivated.
E) A UserTransaction reference cannot be passivated.
F) A 'Connection' reference cannot be passivated.
G) A resource manager connection factory reference cannot be
passivated.
H) A reference to a bean's privated JNDI environment can be
passivated.
I) A null reference can be passivated.
file:///D|/workspace/Certification/SUN/SCBCD/...0SCBCD%20Mock%20exams,%20practice%20tests.htm (10 of 14) [8/25/2003 11:48:07 AM]
gayanb.com :: DEVELOPER RESOURCES :: Free SCBCD Mock exams, practice tests
J) Under some circumstances, the bean might be passivated
*without*
getting an ejbPassivate method call.
33. Which must NOT be invoked on a bean's EJBContext until AFTER
the execution of the setSessionContext
method in a stateless session bean using CMT?
A) getEJBLocalHome
B) getEJBObject
C) getUserTransaction
D) getCallerPrincipal
E) isCallerInRole
F) setRollbackOnly
G) getRollbackOnly
H) getEJBLocalObject