The question below is from the diagnostic exam of WhizLabs. (Question number 48).
Choose 1 incorrect statement about bean-managed transactions:
[A] Programmatic transaction demarcation is also called as bean managed transaction demarcation.
[B] In case of bean-managed transaction responsibility of transaction management is on bean provider while in case of container managed transaction demarcation responsibility is on EJB container and server provider.
[C] Javax.transaction.UserTransaction interface is used to demarcate bean-managed transactions.
[D] For bean managed transaction demarcation all resource manager access should happen between UserTransaction.begin and UserTransaction.commit
According to the WhizLabs, the correct answer is B, as that statement is incorrect.
Why is that statement is incorrect?
posted 8 years ago
Maybe because it is the responsibility of an EJB container provider only?