This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
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?