nerdexam
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)
  • A
    6% (4)
  • B
    3% (2)
  • C
    14% (9)
  • D
    77% (49)

Community Discussion

No community discussion yet for this question.

Full 1Z0-860 Practice