Transactions

Enterprise Bean Transactions tabbed pane

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 list in the Transaction Attributes 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 reasonable default for container-managed transactions.



Legal Notices