@bes Tag Reference

Borland Enterprise Server Ejb tags

@bes Method Level Tags

@bes.cross-table

@bes.relation

@bes Field Level Tags

@bes Class Level Tag Usage

@bes.bean (0..*)

Most of the class-level BES options are specified in parameters of this tag.

Applies to: Session and Message Driven Beans

ParameterTypeApplicabilityDescriptionMandatory
message-driven-destination-nametextMessage Driven BeansPlease describe thisfalse
connection-factory-nametextMessage Driven BeansPlease describe thisfalse
pool-max-sizeintMessage Driven BeansMax size of the poolfalse
pool-init-sizeintMessage Driven BeansThe initial size of the poolfalse
pool-wait-timeoutintMessage Driven BeansPlease describe thisfalse
timeoutintSession BeansThe timeout limit applied to transactions on Stateful beans.false

@bes.datasource (0..1)

Database datasource setting for CMP/BMP Entity Bean Requires @ejb.bean.

Applies to: CMP Entity Beans

ParameterTypeApplicabilityDescriptionMandatory
res-ref-nametextReference to entity datasource. Default is jdbc/${jndi-name}false
jndi-nametextJNDI name of entity data source. Default is DefaultDataSource false
cmp-resourcebool!!Describe me!!false

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

Reference to a local EJB. There must also be a matching @ejb.ejb-local-ref.

Applies to: All EJBs

ParameterTypeApplicabilityDescriptionMandatory
ref-nametextThe local reference name of the EJBtrue
jndi-nametextThe JNDI name of the referenced bean.

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

Reference to bean outside of the EJB-package. There must also be a matching @ejb.ejb-ref.

Applies to: All EJBs

ParameterTypeApplicabilityDescriptionMandatory
ref-nametextThe local reference name of the EJBtrue
jndi-nametextThe JNDI name of the referenced bean.

@bes.property (0..*)

Set a property

Applies to: All EJBs

ParameterTypeApplicabilityDescriptionMandatory
prop-nametextName of the propertyfalse
prop-typetextThe type of the propertyfalse
prop-valuetextThe value of the propertyfalse

@bes.resource-env-ref (0..*)

Reference to a Resource. Please provide a better description

Applies to: All EJBs

ParameterTypeApplicabilityDescriptionMandatory
nametextThe reference name of the resourcetrue
jndi-nametextThe JNDI name of the referenced resource.

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

Reference to a resource. There must also be a matching @ejb.resource-ref.

Applies to: All EJBs

ParameterTypeApplicabilityDescriptionMandatory
res-nametextThe local resource namefalse
res-ref-nametextThe resource ref namefalse
jndi-nametextThe JNDI name of the referenced resource.false

@bes Method Level Tag Usage

@bes.cross-table (0..1)

Database configuration for persistent relations. Only for M:N relations Requires @ejb.relation and @bes.relation

Applies to: CMR fields only

ParameterTypeApplicabilityDescriptionMandatory
table-nametext Database join table name false
left-columnAtext Name of the column from "Bean" table used for left side of the relation false
left-columnBtext Name of the column from join table used for left side of the relation false
right-columnAtext Name of the column from "Bean" table used for right side of the relation false
right-columnBtext Name of the column in join table used for right side of the relation false

@bes.relation (0..1)

Database configuration for persistent relations. Requires @ejb.relation

Applies to: CMR fields only

ParameterTypeApplicabilityDescriptionMandatory
left-table-nametext Database table name for left side of the relation false
left-column-nametext Name of the column used for left side of the relation false
right-table-nametext Database table name for right side of the relation false
right-column-nametext Name of the column used for right side of the relation false

@bes Field Level Tag Usage