Edit Transaction Management

In the Transactions tabbed pane, you can choose the type of management: or , and select the for methods if you chose container-managed transactions.
  1. Select the bean-managed or container-managed radio button. If you are creating a session bean, you can choose either type of transaction management. If you are creating an entity bean, you must choose container-managed transactions.
  2. When selecting container management, you need to select the transaction attributes for each method. Select the attribute for each method from the drop-down menus in the Transaction Type column.
If you are not familiar with transaction attributes or are not sure which one to choose for a particular method, you should enter `Required' in the Transaction Attribute column. In general, 'Required' provides a reasonalble default for container-managed transactions.

See Also:

Choose the Type of Transaction Management


Copyright 1999, 2000 Sun Microsystems, Inc. All Rights Reserved.