File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes BMT Vs CMT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "BMT Vs CMT" Watch "BMT Vs CMT" New topic


satish c marathe

Joined: Jul 29, 2008
Posts: 2
Hello ,
At many places it is advised to make use of BMT rather than CMT

I have not worked on very complicated / distributed apps and have made use of JDBC Tx .

BMT dont seem to be that complicated where all we need to do is make use of the methods - "begin/commit/rollback" - which is not different from jdbc tx

Also making use of these methods is quite simple

So do we really need to use CMT ?
Put another way - why should I not use BMT ?

Regards ,

Be kind to animals.
I agree. Here's the link:
subject: BMT Vs CMT
Similar Threads
TX mgmt responsibility
EJB2.0 stateful session bean ejbCreate()
Transactions: Mix BMT & CMT
Spec Chapter 12 -- BMP Entity Bean, no need for SCBCD?
When to use UserTransaction's setRollbackOnly() and UserTransaction's rollback()