Oracle
1Z0-860 · Question #171
Which two statements are true about EJB 3.0 session bean transaction management? (Choose two.)
The correct answer is D. Session beans with bean-managed transaction demarcation can use transactional resources managed E. Session beans that invoke javax. persistence. EntityManager can use either container- managed. See the full explanation below for the reasoning.
Question
Which two statements are true about EJB 3.0 session bean transaction management? (Choose two.)
Options
- AAll session beans in the same ejb-jar must have the same transaction demarcation type.
- BAll session beans in the same enterprise application archive must have the same transaction
- CSession beans with bean-managed transaction demarcation cannot participate in a two-phase commit
- DSession beans with bean-managed transaction demarcation can use transactional resources managed
- ESession beans that invoke javax. persistence. EntityManager can use either container- managed
How the community answered
(64 responses)- A6% (4)
- B3% (2)
- C14% (9)
- D77% (49)
Community Discussion
No community discussion yet for this question.