October 2003
Beginner
734 pages
16h 56m
English
All beans must say whether they’re using bean- or container-managed transactions. For BMT beans, that’s it for the DD.
But for CMT beans that’s just the beginning.

Transaction-related DD info lives in two places
For both CMT and BMT beans:
The <transaction-type> element in the <enterprise-beans> section

For CMT beans only:
The <container-transaction> element in the <assembly-descriptor> section
<assembly-descriptor> <container-transaction> <method> <ejb-name>MyBean</ejb-name> <method-name>bar</method-name> </method> <trans-attribute>Required</trans-attribute> </container-transaction> </assembly-descriptor>

Read now
Unlock full access