@websphere Class Level Tag Usage

@websphere.bean (0..1)

WebSphere specific extension properties for Session Beans

Applies to: Session Beans

ParameterTypeApplicabilityDescriptionMandatory
timeouttext Equivalent to the WebSphere Extension property "Session Timeout" false

@websphere.bean-cache (0..1)

WebSphere specific cache settings for EJBs

Applies to: Entity Beans and Stateful Session Beans

ParameterTypeApplicabilityDescriptionMandatory
activate-attext Specifies the point at which an EJB is activated and placed in the cache. Removal from the cache and passivation is also governed by this setting.
Valid options are:

ONCE

ACTIVITY_SESSION

TRANSACTION
false
load-attextEntity Beans Specifies when the EJB loads its state from the database. The value of this setting implies whether the container has exclusive or shared access to the database.
Valid options are:

ACTIVATION

TRANSACTION
false
pinned-fortextEntity Beans Defines how long the bean should be maintained in the cache
Valid options are:

ACTIVATION_PERIOD

ACTIVITY_SESSION

TRANSACTION

BUSINESS_METHOD_ONLY
false

@websphere.cmp (0..1)

WebSphere specific extension properties for CMP Entity Beans

Applies to: CMP Entity Beans

ParameterTypeApplicabilityDescriptionMandatory
datasourcetext The jndi-name used by this CMP bean to lookup the datasource. Note that the datasource-attribute on the websphere ant task can be used to set a default datasource for all CMP beans. false

@websphere.finder-query (0..1)

DEPRECATED. Use EJB QL Queries instead.

Applies to: CMP Entity Beans

ParameterTypeApplicabilityDescriptionMandatory
nametexttrue
parmstexttrue
where-clausetexttrue
hometexttrue

@websphere.local-transaction (0..1)

WebSphere specific extension properties for local transactions. For more information, see the WebSphere Application Server documentation.

Applies to: EJBs

ParameterTypeApplicabilityDescriptionMandatory
boundarytext Copied from IBM RAD on-line help: In the Boundary field, select one of the following values to specify the duration of a local transaction context: BeanMethod: Specifies that the local transaction begins when the method begins, and ends when the method ends. ActivitySession: Specifies that the local transaction must be resolved within the scope of any ActivitySession in which it was started or, if no ActivitySession context is present, within the same bean method in which it was started.
Valid options are:

BeanMethod

ActivitySession
false
resolvertext Copied from IBM RAD on-line help: In the Resolver field, select one of the following values to specify how the local transaction is to be resolved before the local transaction context ends: Application: When you use this setting your code must either commit or roll back the local transaction. If this does not occur, the runtime environment logs a warning and automatically commits or rolls back the connection as specified by the Unresolved action setting. ContainerAtBoundary: When you use this setting, the container takes responsibility for resolving each local transaction.
Valid options are:

Application

ContainerAtBoundary
false
unresolvedActiontext Copied from IBM RAD on-line help: In the Unresolver action field, select one of the following values to specify the action that the EJB container must take if resources are uncommitted by an application in a local transaction: Commit: At the end of the local transaction context, the container instructs all unresolved local transactions to commit. Rollback: (Default) At the end of the local transaction context, the container instructs all unresolved local transactions to roll back.
Valid options are:

Commit

Rollback
false

@websphere.mapping (0..1)

DEPRECATED. Use the CMP OR-mapping in the WebSphere deploymentment tool for a default mapping or the CMP OR-mapping tool in WSAD for more advanced mapping.

Applies to: EJBs

ParameterTypeApplicabilityDescriptionMandatory
table-nametexttrue

@websphere.mapping-constraint (0..1)

DEPRECATED. Use the CMP OR-mapping in the WebSphere deploymentment tool for a default mapping or the CMP OR-mapping tool in WSAD for more advanced mapping.

Applies to: EJBs

ParameterTypeApplicabilityDescriptionMandatory
constraint-nametexttrue
constraint-typetexttrue

@websphere.mdb (0..1)

WebSphere specific extension properties for Message Driven Beans

Applies to: Message Driven Beans

ParameterTypeApplicabilityDescriptionMandatory
listenerPorttext The listener port to be used by this Message Driven Bean for consuming messages. true

@websphere.resource-ref (0..*)

WebSphere specific extension properties for Resource References.

Applies to: EJBs and Servlet

ParameterTypeApplicabilityDescriptionMandatory
res-ref-nametextOnly for class level tags. The name of the resource reference true
connection-management-policytext The connection management policy
Valid options are:

Default

Aggressive

Normal
false
isolation-leveltext The transaction isolation level
Valid options are:

TRANSACTION_NONE

TRANSACTION_READ_UNCOMMITTED

TRANSACTION_READ_COMMITTED

TRANSACTION_REPEATABLE_READ

TRANSACTION_SERIALIZABLE
false

@websphere Method Level Tag Usage

@websphere.resource-ref (0..*)

WebSphere specific extension properties for Resource References.

Applies to: EJBs and Servlet

ParameterTypeApplicabilityDescriptionMandatory
res-ref-nametextOnly for class level tags. The name of the resource reference true
connection-management-policytext The connection management policy
Valid options are:

Default

Aggressive

Normal
false
isolation-leveltext The transaction isolation level
Valid options are:

TRANSACTION_NONE

TRANSACTION_READ_UNCOMMITTED

TRANSACTION_READ_COMMITTED

TRANSACTION_REPEATABLE_READ

TRANSACTION_SERIALIZABLE
false

@websphere Field Level Tag Usage

@websphere.resource-ref (0..*)

WebSphere specific extension properties for Resource References.

Applies to: EJBs and Servlet

ParameterTypeApplicabilityDescriptionMandatory
res-ref-nametextOnly for class level tags. The name of the resource reference true
connection-management-policytext The connection management policy
Valid options are:

Default

Aggressive

Normal
false
isolation-leveltext The transaction isolation level
Valid options are:

TRANSACTION_NONE

TRANSACTION_READ_UNCOMMITTED

TRANSACTION_READ_COMMITTED

TRANSACTION_REPEATABLE_READ

TRANSACTION_SERIALIZABLE
false