@resin-ejb Tag Reference

Resin Ejb tags

@resin-ejb Field Level Tags

@resin-ejb Class Level Tag Usage

@resin-ejb.entity-bean (0..1)

Resin CMP Entity Bean. Requires @ejb.bean.

Applies to: CMP Entity Beans

ParameterTypeApplicabilityDescriptionMandatory
sql-tabletextDatabase table for this Entity. Deprecated, in favour of @ejb.persistence table-name parameter.false
data-sourcetextEntity data sourcefalse
cache-sizeintBean cache sizefalse
cache-timeouttextBean cache timeout; default unit is seconds (s) if none specified.false

@resin-ejb.entity-method (0..*)

Business method configuration; see http://caucho.com/products/resin-ejb/ejb-ref/resin-ejb-config.xtp#method

Applies to: Class or method level

ParameterTypeApplicabilityDescriptionMandatory
signaturetext Java method signature or * (for general case); mandatory at class-level false
resin-isolationtext Caching hint for Resin; valid values are 'read-only' (read-only) and 'database' (read-write)
Valid options are:

read-only

database
false
query-loads-beantext find or select query will load the bean rather than just the primary key; valid values are 'true', 'false'
Valid options are:

true

false

Default value(s):

false
false

@resin-ejb.message-bean (0..1)

Resin Message Driven Bean. Requires @ejb.bean.

Applies to: Message Driven Beans

ParameterTypeApplicabilityDescriptionMandatory
jndi-nametextJNDI name of the queue or topic for the bean.false

@resin-ejb Method Level Tag Usage

@resin-ejb.cmp-field (0..1)

Specifies database column properties of a persistent field. Requires @ejb.persistent-field.

Applies to: Entity CMP field

ParameterTypeApplicabilityDescriptionMandatory
sql-columntextDatabase column namefalse
sql-typetext SQL column type used during table generation false
abstract-sql-typetext java.sql.Types column type which is matched with driver type map to determine physical column type during table generation false

@resin-ejb.entity-method (0..*)

Business method configuration; see http://caucho.com/products/resin-ejb/ejb-ref/resin-ejb-config.xtp#method

Applies to: Class or method level

ParameterTypeApplicabilityDescriptionMandatory
signaturetext Java method signature or * (for general case); mandatory at class-level false
resin-isolationtext Caching hint for Resin; valid values are 'read-only' (read-only) and 'database' (read-write)
Valid options are:

read-only

database
false
query-loads-beantext find or select query will load the bean rather than just the primary key; valid values are 'true', 'false'
Valid options are:

true

false

Default value(s):

false
false

@resin-ejb.relation (0..1)

Database configuration for persistent relations. Requires @ejb.relation

Applies to: CMR fields only

ParameterTypeApplicabilityDescriptionMandatory
sql-tabletext Database table for n-m relationships (only) false
sql-columntext Database column false
order-bytext Persistent field name for ordering collections in 1-n relationships (only) false
target-sql-columntext Database column of target in unidirectional relationship false

@resin-ejb Field Level Tag Usage