• Post Reply Bookmark Topic Watch Topic
  • New Topic

What is CMT and BMT?

 
Kenneth Lomvey
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have no understand about the difference between the container managed transactions and bean manage transactions. Can someone clear this for me?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a big topic, but basically a container managed transaction means that the container is going to do all the work for you (starting transactions, committing/rollbacking transactions...). If you don't want the container to do everything for you, if you want to control when to start/end transactions, you can use a bean managed transaction. I think you should refer to a book, or to the core specification to know more about each. Trying some examples given in a book will also help you to understand how different they are.
 
Kenneth Lomvey
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it. Thanks Christophe.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!