Oracle
1Z0-860 · Question #161
Which is the correct way of declaring bean-managed transaction demarcation for an EJB 3.0 message-driven bean?
The correct answer is B. @MessageDriven @TransactionManagement(TransactionManagementType.BEAN). See the full explanation below for the reasoning.
Question
Which is the correct way of declaring bean-managed transaction demarcation for an EJB 3.0 message-driven bean?
Options
- A@MessageDriven
- B@MessageDriven @TransactionManagement(TransactionManagementType.BEAN)
- C@MessageDriven
How the community answered
(27 responses)- A11% (3)
- B81% (22)
- C7% (2)
Community Discussion
No community discussion yet for this question.