• 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic