Oracle
1Z0-860 · Question #59
Which two are restrictions of beans with bean-managed transactions? (Choose two.)
The correct answer is D. A bean that starts a transaction must complete the transaction before it starts a new transaction. E. A message-driven bean instance must commit a transaction before the on Message method returns. See the full explanation below for the reasoning.
Question
Which two are restrictions of beans with bean-managed transactions? (Choose two.)
Options
- AThe NON SUPPORTED transaction attribute must be chosen.
- BClients calling with a transactional context are prohibited and will result in an exception.
- CA stateful session bean must commit a started transaction before a business method returns.
- DA bean that starts a transaction must complete the transaction before it starts a new transaction.
- EA message-driven bean instance must commit a transaction before the on Message method returns.
How the community answered
(21 responses)- A5% (1)
- B10% (2)
- C10% (2)
- D76% (16)
Community Discussion
No community discussion yet for this question.