@jrun Class Level Tag Usage

@jrun.always-dirty (0..1)

The always-dirty element can be used to force synchronization with the data source at the ends of transactions even when there has been no change to the entity bean's fields

Applies to: Entity Beans

ParameterTypeApplicabilityDescriptionMandatory
valuebool

Default value(s):

false
true

@jrun.cluster-home (0..1)

The cluster-home element denotes whether the EJBHome should be clustered for this bean. If clustering is enabled in jrun.xml, this value is true by default. You can use this element to override this behavior on a bean-by-bean basis

Applies to: EJB Beans

ParameterTypeApplicabilityDescriptionMandatory
valuetexttrue

@jrun.cluster-object (0..1)

The cluster-object element denotes whether the EJBObject should be clustered for this bean. If clustering is enabled in jrun.xml, this value is true by default. You can use this element to override this behavior on a bean-by-bean basis

Applies to: EJB Beans

ParameterTypeApplicabilityDescriptionMandatory
valuetexttrue

@jrun.commit-option (0..1)

The commit-option element specifies the the commit option from Section 10.5.9 and 12.1.9 of the EJB 2.0 specification

Applies to: Entity Beans

ParameterTypeApplicabilityDescriptionMandatory
valuetextA or B or Ctrue

@jrun.ejb-local-ref (0..*)

The ejb-local-ref element describes a mapping between the ejb-ref-name that the bean developer provides and its JNDI name. The deployer provides the actual JNDI name

Applies to: EJB Beans

ParameterTypeApplicabilityDescriptionMandatory
ejb-ref-nametextThe ejb-ref-name element gives the name of an EJB from the ejb-jar.xml file. The bean developer this informationtrue
jndi-nametextThe jndi-name element gives the JNDI name where the bean or resource will be boundtrue

@jrun.ejb-ref (0..*)

The ejb-ref element describes a mapping between the ejb-ref-name that the bean developer provides and its JNDI name. The deployer provides the actual JNDI name

Applies to: EJB Beans

ParameterTypeApplicabilityDescriptionMandatory
ejb-ref-nametextThe ejb-ref-name element gives the name of an EJB from the ejb-jar.xml file. The bean developer this informationtrue
jndi-nametextThe jndi-name element gives the JNDI name where the bean or resource will be boundtrue

@jrun.instance-pool (0..1)

The instance-pool element contains the maximum and minimum size parameters for StatelessSessionBean instance pools

Applies to: Session Beans

ParameterTypeApplicabilityDescriptionMandatory
maximum-sizeintThe maximum-size element specifies the maximum size for StatelessSessionBean instance poolstrue
minimum-sizeintThe minimum-size element specifies the minimum size for StatelessSessionBean instance poolstrue

@jrun.jdbc-mappings (0..1)

The jdbc-mappings element holds information specific to JRun and not declared in the ejb-jar.xml file about the CMP mappings for an entity bean. jdbc-mappings are used to specify the SQL used to create, load, store, find and remove entity beans

Applies to: Entity Beans

ParameterTypeApplicabilityDescriptionMandatory
create-tableboolWhether JRun will attempt to create database tablestrue
delete-tableboolWhether JRun will attempt to delete database tablestrue

@jrun.jndi-name (0..1)

The jndi-name element gives the JNDI name where the bean or resource will be bound

Applies to: EJB Beans

ParameterTypeApplicabilityDescriptionMandatory
jndi-nametexttrue

@jrun.message-driven-destination (0..1)

The message-driven-destination element provides the destination that the Message driven container uses

Applies to: MD Beans

ParameterTypeApplicabilityDescriptionMandatory
nametextThe name element defines the parameter nametrue

@jrun.message-driven-subscription (0..1)

The message-driven-destination element provides the destination that the Message driven container uses

Applies to: MD Beans

ParameterTypeApplicabilityDescriptionMandatory
client-idtextThe client-id element provides client id for DurableSubscription setup and sign ontrue

@jrun.resource-env-ref (0..1)

The resource-env-ref element describes a mapping between the resource-env-name that the bean developer provides and its JNDI name. The deployer provides the actual JNDI name

Applies to: EJB Beans

ParameterTypeApplicabilityDescriptionMandatory
resource-env-ref-nametextThe resource-env-ref-name element gives the name of a resource env from EJB view. The bean developer provides this informationtrue
jndi-nametextThe jndi-name element gives the JNDI name where the bean or resource will be boundtrue
mdb-destinationtextThe mdb-destination element specifies a message-driven bean destinationtrue

@jrun.resource-ref (0..1)

The resource-ref element describes a mapping between the resource name that the bean developer provides and its JNDI name. The deployer provides the actual JNDI name

Applies to: EJB Beans

ParameterTypeApplicabilityDescriptionMandatory
resource-ref-nametextThe res-ref-name element gives the name of a resource from EJB view. The bean developer provides this informationtrue
jndi-nametextThe jndi-name element gives the JNDI name where the bean or resource will be boundtrue
usertextThe user element assigns a user identity to be used with a specified resourcetrue
passwordtextThe password element provides user credentials to be used with user element to identify and authenticate a specified resourcetrue

@jrun.timeout (0..1)

The timeout element specifies the timeout value, in seconds, of a stateful session bean. The bean will be passivated if left idle for this duration

Applies to: Stateful Session Beans

ParameterTypeApplicabilityDescriptionMandatory
valuetexttrue

@jrun.tx-domain (0..1)

The tx-domain-name element gives the transaction domain name in which the bean's transactions will take place

Applies to: Entity Beans

ParameterTypeApplicabilityDescriptionMandatory
valuetexttrue

@jrun Method Level Tag Usage

@jrun Field Level Tag Usage