InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.5: Administering EJB modules (overview) >
6.6.5.0: EJB module properties >
6.6.5.0.4: Assembly properties for session beans

6.6.5.0.4: Assembly properties for session beans

EJB name (Required, String)
Specifies a logical name for the enterprise bean. This name must be unique within the EJB module. There is no relationship between this name and the JNDI name.

Display name
Specifies a short name that is intended to be displayed by GUIs.

Description
Contains text describing the session bean.

Home interface (Required, String)
Specifies the full package name of the enterprise bean's home interface class, for example, com.ibm.ejs.doc.account.AccountHome.

Remote interface (Required, String)
Specifies the full package name of the enterprise bean's remote interface class, for example, com.ibm.ejs.doc.account.Account.

EJB class (Required, String)
Specifies the full package name of the enterprise bean class, for example, com.ibm.ejs.doc.account.AccountBean.

Session type
Specifies whether the enterprise bean maintains a conversational state (is a stateful session bean) or does not (is a stateless session bean). Valid values are stateful and stateless.

Transaction type
Specifies whether the enterprise bean manages its own transactions or whether the container manages transactions on behalf of the bean. Valid values are container or bean.

Small icon
Specifies a JPEG or GIF file containing a small image (16x16 pixels). The image is used as an icon to represent the session bean in a GUI.

Large icon
Specifies a JPEG or GIF file containing a large image (32x32 pixels). The image is used as an icon to represent the session bean in a GUI.

Timeout
Specifies the idle timeout value for the enterprise bean in seconds. A zero (0) value indicates that idle bean instances time out after the maximum allowable timeout period elapses. By default, the timeout is 600 seconds or 10 minutes. This property does not apply to session beans.

Inheritance root
Specifies whether the enterprise bean is at the root of an inheritance hierarchy.

Bean Cache -- Activate at
Applies to stateful session beans only, not to stateless beans. Specifies the point at which an enterprise bean is activated and placed in the cache. Removal from the cache and passivation are also governed by this setting. Valid values are Once and Transaction. Once indicates that the bean is activated when it is first accessed in the server process and passivated (and removed from the cache) at the discretion of the container--for example, when the cache becomes full. Transaction indicates that the bean is activated at the start of a transaction and passivated (and removed from the cache) at the end of the transaction. The default value is Once.

Bean Cache -- Load at
This property does not apply to session beans.

Locale location
Specifies the language used when the enterprise bean retrieves and displays message catalogs: the local language of the client that invoked the bean method or the local language of the server where the bean is running. Valid values are server and caller.

Local Transactions -- Boundary
Specifies when a local transaction begins. The default behavior is that the local transaction begins when the method begins and ends when the method ends. This property is not applicable for session beans.

Local Transactions -- Unresolved action
Specifies the action the container must take if resources are uncommitted by an application in a local transaction. A local transaction context is created when a method executes in what the EJB specification refers to as an unspecified transaction context. Valid values are Rollback and Commit. The default is Rollback.

JNDI name
Specifies the JNDI name of the bean's home interface. This is the name under which the enterprise bean's home interface is registered and therefore is the name that must be specified when an EJB client does a lookup of the home interface.
Go to previous article: 6.6.5.0.3: Assembly properties for method extensions Go to next article: 6.6.5.0.5: Assembly properties for security roles

 

 
Go to previous article: 6.6.5.0.3: Assembly properties for method extensions Go to next article: 6.6.5.0.5: Assembly properties for security roles