Hitachi

uCosminexus Application Server Application Setup Guide


9.5.1 Definition method

You define the method of managing transactions by using a container.

You can specify the transaction attributes for each Enterprise Bean, interface, and method. When the transaction attributes are not specified, the attributes specified for the upper level become applicable.

Organization of this subsection

(1) Attribute file to be edited

From the following attribute files, edit the attribute file that maps to the type of Enterprise Bean that sets the transaction attributes:

(2) Acquiring the attribute file to be edited and setting the attributes

(3) Attribute settings to be edited

The following table describes the settings for the container transaction attributes (<container-transaction>):

Items

Mandatory

Corresponding tags

Description

O

<description>

Method description

O

<method> - <description>

Interface classification

O

<method> - <method-intf>

Method name

Y

<method> - <method-name>

Transaction attribute

Y

<trans-attribute>

Legend:

Y: Mandatory

O: Optional

For property settings, reference the following subsections:

The following points specify the transaction attributes and explain the transaction management operations:

(4) Notes