Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

difference b/w BMT vs CMT?  RSS feed

 
venkata kri
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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
 
Jetendra Ivaturi
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!