Hitachi

uCosminexus Application Server Application Setup Guide


9.1.2 Property settings of an Enterprise Bean

When you create and customize J2EE applications containing Enterprise Beans, specify the settings below when required.

The following table describes the property settings for the Enterprise Beans:

Table 9‒1: Items to be edited in the Enterprise Bean properties

Items to be edited

Contents

Mandatory

Reference

Defining Enterprise Bean references

Define the references to the following Enterprise Beans forming a J2EE application:

  • Session Bean

  • Entity Bean

  • Message-driven Bean

O

9.3

Defining other Enterprise Bean references

Define the references to the other Enterprise Beans.

O

9.3.1

Defining mail configuration references

Define the references to the mail servers.

O

9.3.2

Defining resource adapter references

Define the references to the resource adapters.

O

9.3.3

Defining resource environment references

Define the references to the resource environment.

O

9.3.4

Defining message references of Message-driven Beans

Map the actual Connection Factory and Destination wherever the Connection Factory and Destination of Message-driven Bean are being referenced.

O

9.4

Defining transaction attributes

Define the transaction attributes.

O

9.5

Defining CMP of an Entity Bean

Define the CMP for delegating the persistence management of Entity Bean to a container.

O

9.6

CMP settings

Define the settings for delegating the persistence management of an Entity Bean to a container, by using a single primary key.

Define the settings for delegating the persistence management of an Entity Bean to a container, by using the compound primary key.

O

9.6.1

Mapping CMP1.x and the database

Map the CMP1.x Entity Bean field to a table in the database.

O

9.6.2

Mapping CMP2.x and the database

Map the CMP2.x Entity Bean field to a table in the database.

O

9.6.3

Defining the runtime attributes of Enterprise Beans

Set the runtime operations of the Enterprise Beans. Specify the settings when required.

Y

9.10

Setting the runtime properties for Stateful Session Beans

Set the properties for runtime operations of Stateful Session Beans.

Y

9.10.1

Setting the runtime properties for Stateless Session Beans

Set the properties for runtime operations of Stateless Session Beans.

Y

9.10.2

Setting the runtime properties for Entity Beans

Set the properties for runtime operations of Entity Beans.

Y

9.10.3

Setting the runtime properties for Message-driven Beans

Set the properties for runtime operations of Message-driven Beans.

Y

9.10.4

Interceptor settings

Define the settings for using the interceptor.

O

9.17

Legend:

Y: Mandatory. Ensure that the settings are specified when customizing the J2EE applications that contain the corresponding Enterprise Beans.

O: Optional. Specify the settings based on the J2EE applications.