• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

difference b/w BMT vs CMT?

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

Please let me know the differences between Bean Managed Transactions and Container Managed Transactios.

can we maintain the transaction state between the ejb's in Bean Managed Transactions?

Please help me

Thanks in advance
krishna
 
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To be precise,

If you write any code to handle transaction in the bean then its called bean managed transaction.

We have DD attributes to handle the transactions as well, we have 6 attributes which are mentioned in the DD files, if you use them then its container managed.

In ejb-jar.xml we have tag called <transction-type>Container</t-t>

Which also means the same.
 
get schwifty. tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic