aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Question about bean-managed transactions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Question about bean-managed transactions" Watch "Question about bean-managed transactions" New topic
Author

Question about bean-managed transactions

Treimin Clark
Ranch Hand

Joined: Nov 12, 2008
Posts: 757
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?
Raf Szczypiorski
Ranch Hand

Joined: Aug 21, 2008
Posts: 383
Maybe because it is the responsibility of an EJB container provider only?
Treimin Clark
Ranch Hand

Joined: Nov 12, 2008
Posts: 757
Thanks Raf.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about bean-managed transactions