This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Doubt in bean managed transaction" Watch "Doubt in bean managed transaction" New topic
Author

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
Karthikeyan,
I think you are right. 'A' also correct since the BMT can't accept any transaction propagation from any other beans.

thanks,
Ugender
shri mon
Ranch Hand

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

Thanks,
Shrimon
 
Have you checked out Aspose?
 
subject: Doubt in bean managed transaction
 
It's not a secret anymore!