In the Transaction Management dialog box, indicate either
or
.
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.
When selecting container management, you need to select the
for each method. Select the attribute
for each method from the drop-down menus in the Transaction Type
column. You can set these attributes after creating your enterprise
bean. See
Edit Transaction Management for
instructions.
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.