Show TOC Start of Content Area

Procedure documentation Specifying Bean-Specific Properties  Locate the document in its SAP Library structure

       1.      Open the ejb-jar.xml

       2.      From the right-hand pane, choose the Enterprise Beans tab

       3.      Open the corresponding tree structure and select the bean, whose properties you want to specify.

       4.      You can specify the following data:

Property

Description

Display Name

A short name for the enterprise bean, which will be displayed by the tools. This name does not have to be unique.

Description

A description of the enterprise bean.

Small Icon

The relative path within the EJB JAR file to a small icon image (16 x 16) that can be displayed by tools. The image can be in the JPEG or GIF format.

To specify the small icon, choose the Icon option and browse to select the icon image. The IconChooser dialog box, which appears provides a preview option when you select the desired icon image.

Large Icon

The relative path within the EJB JAR file to a large icon image (32 x 32) that can be displayed by tools. The image can be in the JPEG or GIF format.

For more information how to specify the large icon, see the small icon description above.

EJB Name

A name for the enterprise bean. This name must be unique within the names of the enterprise beans in the EJB JAR.

Transaction type

Note

Available for session and message-driven beans only. The entity bean transactions are always Container managed.

The enterprise bean's transaction management type. In the drop-down list, choose between Bean and Container.

Abstract schema name

Note

Available for entity beans only.

The name of a container-managed entity bean developed according to the EJB 2.0 in the abstract persistence schema. This name is used in EJB QL queries.

Message selector

Note

Available for message-driven beans only.

Specifies the JMS message selector, which will be used when determining which messages the message-driven bean is going to receive.

Acknowledge mode

Note

Available for message-driven beans only.

Defines the message acknowledgment semantics that should be used for the onMessage message if the message-driven bean uses bean-managed transaction demarcation. You can choose between:

·        Auto-acknowledge

·        Dups-ok-acknowledge

Message-Driven Destination Type

Note

Available for message-driven beans only.

Specifies the type of the message-driven bean's intended destination. Select the Message Driven Destination option and choose between:

·        javax.jms.Queue

·        javax.jms.Topic

Subscription Durability

Note

Available for message-driven beans only if the Destination Type is javax.jms.Topic.

Specifies whether a JMS topic subscription is intended to be durable or nondurable. Select the Subscription Durability option and choose between:

·        Durable

·        NonDurable

 

Note

This screen in the NetWeaver Developer Studio also contains other deployment properties that are stored in ejb-jar.xml, but the fields of these properties are disabled and cannot be modified. These properties are typically specified when creating the enterprise bean.

 

 

End of Content Area