• Post Reply Bookmark Topic Watch Topic
  • New Topic

Bean managed Transaction and container managed transaction  RSS feed

 
Hari babu
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
What are the advantages and disadvantages of BMT over CMT
Hari
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
CMT:
- Simple to use
- Easy to manage (deployment descriptors)
BMT:
- Full control
- Any change in transactioning requires a change to the code.
- More complex to use. Need to know JTA.
Overall CMT is the way to go unless you run into a situation that can only be handled with BMT.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!