Choose the Type of Transaction Management

In the Transaction Management dialog box, indicate either or   .
  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 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.

See Also:

Edit Transaction Management


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