How to config a default global EJB transaction attribute in JBoss Server?

Posted by seven on Stack Overflow See other posts from Stack Overflow or by seven
Published on 2010-04-22T05:06:06Z Indexed on 2010/04/22 5:13 UTC
Read the original article Hit count: 206

Filed under:

my project need to migrate from oc4j to jboss. But it seems that default EJB transaction attribute is different between them. For OC4J: If you do not specify any transaction attributes for an EJB method then OC4J uses default transaction attributes. OC4J by default uses Required for CMP 2.0, NotSupported for MDBs and Supports for all other types of EJBs. (refer to official doc)

For JBoss: default for all types EJB is Required. (Maybe , refer to un-official site)

To migrate my project within less effort, how to config a default global EJB transaction attribute, e.g. Supports, in JBoss Server?

© Stack Overflow or respective owner

Related posts about jboss