11.2 When a business method in an entity bean calls the getRollbackOnly method, which transaction attribute settings <<<will>>> cause the container to throw an exception?
Originally posted by Kalpesh Soni:
1 - b was fine
2 - d was fine
3 - c
4 - a
Originally posted by Bert Bates:
Answers to EJB Mock fodder questions:
11.3 When a session bean has container-managed demarcation value of 'Supports', which << three >> methods run in an unspecified transaction context? (Choose << three >>.)
Answers: a, d, f
revision: changed 'two' to 'three'
3.2 Which is true about passivation for stateful session beans?
a). The container can passivate a stateful session bean regardless of the bean's << transactional >> state.
b). The client can passivate a session bean.
c). References to JNDI contexts are lost during passivation.
d). References to 'SessionContext' are preserved during passivation.
e). A passivated, stateful session bean instance will always be re-activated prior to removal.
revision: 3.2.a - added << transactional >>