Container transaction settings specify how an EJB container is to manage transaction scopes for the enterprise bean's method invocations. Specify one or more methods and associate a transaction attribute with each method.
Data type | String |
Default | Required |
Range | For all but message-driven beans, valid values are Mandatory, Never, Not Supported, Required, Requires New, Supports. For session beans, Bean Managed is also valid. For message-driven beans, only Bean Managed, Not Supported, and Required are valid. |
Additional information about valid values follows:
EJB clients that access these entity beans must do so within an existing transaction. For other enterprise beans, the enterprise bean or bean method must implement the Bean Managed value or use the Required or Requires New value. For non-enterprise bean EJB clients, the client must access a transaction by using the javax.transaction.UserTransaction interface.
Data type | String |
Range | Valid values for EJB 1.1 implementations are Home, Remote, or Unspecified. For EJB 2.0 implementations, Local and LocalHome are also valid. |