Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Performance Tuning Guide

- Previous: Configure JDBC Resources as One-Phase Commit Resources
- Next: Using Special Techniques

### Use the Least Expensive Transaction Attribute

Set the following transaction attributes in the EJB deployment descriptor file (`ejb-jar.xml`). Options are listed from best performance to worst. To improve performance, choose the least expensive attribute that will provide the functionality your application needs:

1. NEVER

2. TX_NOTSUPPORTED

3. TX_MANDATORY

4. TX_SUPPORTS

5. TX_REQUIRED

6. TX_REQUIRESNEW

- Previous: Configure JDBC Resources as One-Phase Commit Resources
- Next: Using Special Techniques

- © 2010, Oracle Corporation and/or its affiliates