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 difference between CMT and CMTD 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 "difference between CMT and CMTD" Watch "difference between CMT and CMTD" New topic
Author

difference between CMT and CMTD

vivek mahadevan
Greenhorn

Joined: May 20, 2005
Posts: 26
Is there any difference between CMT and CMTD. if so also between BMT and BMTD.

I am also getting confused with the responsibilities and exceptions.Is there any suggestion or notes(short cuts to remember).


SCJP1.4,SCWCD1.4,SCBCD 1.3,SCDJWS 5, OCMJEA/SCEA 5
Satya Maheshwari
Ranch Hand

Joined: Jan 01, 2007
Posts: 368
BMT-Bean Managed Transaction
BMTD-Bean Managed Transaction Demarcation
CMT-Container Managed Transaction
CMTD-Container Managed Transaction demarcation.

Are these what you had implied ?
If yes,
A BMT bean uses BMTD using something like


while transaction mgmt is taken care for CMT bean by the container. Bean provider can control the transaction mgmt by setting the transaction attributes.
vivek mahadevan
Greenhorn

Joined: May 20, 2005
Posts: 26
I wanted to understand the demarcation. Is it going to be a procedure or a way to do a BMT.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: difference between CMT and CMTD