File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes a mock question about transcation 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 "a mock question about transcation" Watch "a mock question about transcation" New topic
Author

a mock question about transcation

chao cai
Ranch Hand

Joined: May 26, 2005
Posts: 154
KQ8: Which two are true about bean-managed transaction demarcation?
A) A transaction used by a BMT bean MUST have been started by the bean.
B) The caller's transaction will be propagated into a BMT bean.
C) Transactions in a BMT bean do not propagate when the BMT bean calls a method on another bean.
D) A bean cannot use both CMT and BMT together.
E) BMT beans must not specify transaction attributes.
the answer is D E why A,C is incorrect,
Transactions in a BMT bean can be propagate to a CMT


SCEA<br />SCJP 1.2<br />SCBCD<br />MCSD<br />IBM Certified Specialist RUP v2003<br />IBM Certified Solution Designer OOAD vUML2<br /> <br />Phone Number:86-010-82776427
Praveen Kumar Mathaley
Ranch Hand

Joined: Apr 14, 2003
Posts: 45
KQ8: Which two are true about bean-managed transaction demarcation?
A) A transaction used by a BMT bean MUST have been started by the bean.
B) The caller's transaction will be propagated into a BMT bean.
C) Transactions in a BMT bean do not propagate when the BMT bean calls a method on another bean.
D) A bean cannot use both CMT and BMT together.
E) BMT beans must not specify transaction attributes.
the answer is D E why A,C is incorrect,

Regarding answer A, I think the wording may not be correct
A BMT bean transaction should be started by same bean itself
Yes C Is incorrect as Transaction from BMT Bean can be propagated to CMT Bean.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: a mock question about transcation