aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes HFEJB mock exam Q 49 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "HFEJB mock exam Q 49 " Watch "HFEJB mock exam Q 49 " New topic
Author

HFEJB mock exam Q 49

paresh vernekar
Ranch Hand

Joined: Jul 10, 2006
Posts: 52
Hi,
I have a query regarding the following question from HFEJB mock exam.

Which are true about transactions in EJB 2.0?

A Only one database can be updated within a single transaction
B Entity beans with BMT demarcation must use the setStatus method instead of the setRollbackOnly method
C Entity beans with BMT demarcation must use the getStatus method instead of the getRollbackOnly method
D BMT demarcation should be used when beans access resource managers that do not support transactions
E The 'SessionSynchronization' interface can be used only by stateful session beans

I had chosen option E.

However the correct option given are C & E

I am puzzled about C, as entity beans are not supposed to use BMT.

Can someone please explain how option C can be considered correct ?

Regards,
Paresh Vernekar
wise owen
Ranch Hand

Joined: Feb 02, 2006
Posts: 2023
This thread.
paresh vernekar
Ranch Hand

Joined: Jul 10, 2006
Posts: 52
Hi,
Thanks for providing the links for this post as well as the previous one.

Regards,
Paresh Vernekar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HFEJB mock exam Q 49