Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
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.
It is sorta covered in the JavaRanch Style Guide.
subject: BMT Vs CMT
Similar Threads
When to use UserTransaction's setRollbackOnly() and UserTransaction's rollback()
TX mgmt responsibility
Transactions: Mix BMT & CMT
EJB2.0 stateful session bean ejbCreate()
Spec Chapter 12 -- BMP Entity Bean, no need for SCBCD?