Transaction Management

In the Transaction Management dialog box, indicate the type of management, and choose the level of transaction support required for each method in each interface defined for the enterprise bean.

  1. In the Transaction Management pane, select either or transactions.
  2. When selecting container management, you need to select settings for each method. To bring up method names select the radio button for the enterface/class containing the method. The radio buttons will be disabled if the corresponding interface has not been defined. The Local Home and Remote Home radio buttons will be disabled for session beans.
  3. You may Select the for each method from the drop-down menus in the Transaction Type column. If you are packaging a message-driven bean, you can only select the Required or Not Supported attributes. 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. Transaction attributes may be entered later after your enterprise bean has been created.
  4. You may Click on the folded paper icon in the rightmost column to enter a description for each method.


Copyright 1999-2001 Sun Microsystems, Inc. All Rights Reserved.