File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Doubt in bean managed transaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Doubt in bean managed transaction" Watch "Doubt in bean managed transaction" New topic

Doubt in bean managed transaction

Shanmugam Karthikeyan
Ranch Hand

Joined: Aug 02, 2002
Posts: 58
1.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 propogated into a BMT bean.
C) Transactions in a BMT bean do not propogate 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

ans given d,e - pls explain me why optiion a) is not valid
my answer :a,d,e

SCJP 1.4<br />SCWCD 1.4<br />SCBCD 1.3
Ugender Rekulampally
Ranch Hand

Joined: Nov 14, 2005
Posts: 135
I think you are right. 'A' also correct since the BMT can't accept any transaction propagation from any other beans.

shri mon
Ranch Hand

Joined: Jan 11, 2005
Posts: 63
A is also a correct option

I agree. Here's the link:
subject: Doubt in bean managed transaction
It's not a secret anymore!