XDoclet Overview News and Status Download/Installation Using XDoclet Best Practices FAQ License Ant Task Reference <ejbdoclet .. /> <webdoclet .. /> <hibernatedoclet .. /> <mockdoclet .. /> <jdodoclet .. /> <jmxdoclet .. /> <doclet .. /> Tag Reference apache (@soap @struts) bea (@weblogic) borland (@bes) caucho (@resin) ejb (@ejb @dao) exolab (@castor) hp (@hpas) hibernate (@hibernate) ibm (@websphere) java (@javabean) jboss (@jboss) jdo (@jdo) jmx (@jmx) macromedia (@jrun) mockobjects (@mock) mvcsoft (@mvcsoft) mx4j (@mx4j) objectweb (@jonas) oracle (@oc4j) orion (@orion) pramati (@pramati) sybase (@easerver) web (@web @jsp) webwork (@webwork) xdoclet (@xdoclet @doc) Feature Documentation Using Value Objects Advanced Maven Plug-in Merge Points Log4J Configuration IDE Integration Migration from EJBDoclet Ant 1.5 Troubleshooting Community Feedback Resources Tools Development Developer Guide Javadoc (API) Template Language (*.xdt) XJavaDoc Site Project Documentation Front Page Project Info Project Reports Development Process | ### Tag Reference for @bes Borland Enterprise Server Ejb tags Class Level Tags @bes.datasource @bes.bean @bes.ejb-ref @bes.ejb-local-ref @bes.resource-ref @bes.resource-env-ref @bes.property Method Level Tags @bes.relation @bes.cross-table Field Level Tags ### Tag Usage, Class Level (@bes) #### @bes.datasource (0..1) Database datasource setting for CMP/BMP Entity Bean Requires @ejb.bean.
Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
res-ref-name | text |  | Reference to entity datasource. Default is jdbc/${jndi-name} | false
jndi-name | text |  | JNDI name of entity data source. Default is DefaultDataSource | false
cmp-resource | bool |  | !!Describe me!! | false
#### @bes.bean (0..*) Most of the class-level BES options are specified in parameters of this tag.
Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
message-driven-destination-name | text | Message Driven Beans | Please describe this | false
connection-factory-name | text | Message Driven Beans | Please describe this | false
pool-max-size | int | Message Driven Beans | Max size of the pool | false
pool-init-size | int | Message Driven Beans | The initial size of the pool | false
pool-wait-timeout | int | Message Driven Beans | Please describe this | false
timeout | int | Session Beans | The timeout limit applied to transactions on Stateful beans. | false
#### @bes.ejb-ref (0..*) Reference to bean outside of the EJB-package. There must also be a matching @ejb.ejb-ref.
Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
ref-name | text |  | The local reference name of the EJB | true
jndi-name | text |  | The JNDI name of the referenced bean. |
#### @bes.ejb-local-ref (0..*) Reference to a local EJB. There must also be a matching @ejb.ejb-local-ref.
Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
ref-name | text |  | The local reference name of the EJB | true
jndi-name | text |  | The JNDI name of the referenced bean. |
#### @bes.resource-ref (0..*) Reference to a resource. There must also be a matching @ejb.resource-ref.
Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
res-name | text |  | The local resource name | false
res-ref-name | text |  | The resource ref name | false
jndi-name | text |  | The JNDI name of the referenced resource. | false
#### @bes.resource-env-ref (0..*) Reference to a Resource. Please provide a better description
Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
name | text |  | The reference name of the resource | true
jndi-name | text |  | The JNDI name of the referenced resource. |
#### @bes.property (0..*) Set a property
Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
prop-name | text |  | Name of the property | false
prop-type | text |  | The type of the property | false
prop-value | text |  | The value of the property | false
### Tag Usage, Method Level (@bes) #### @bes.relation (0..1) Database configuration for persistent relations. Requires @ejb.relation
Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
left-table-name | text |  | Database table name for left side of the relation | false
left-column-name | text |  | Name of the column used for left side of the relation | false
right-table-name | text |  | Database table name for right side of the relation | false
right-column-name | text |  | Name of the column used for right side of the relation | false
#### @bes.cross-table (0..1) Database configuration for persistent relations. Only for M:N relations Requires @ejb.relation and @bes.relation
Parameter | Type | Applicability | Description | Mandatory
--- | --- | --- | --- | ---
table-name | text |  | Database join table name | false
left-columnA | text |  | Name of the column from "Bean" table used for left side of the relation | false
left-columnB | text |  | Name of the column from join table used for left side of the relation | false
right-columnA | text |  | Name of the column from "Bean" table used for right side of the relation | false
right-columnB | text |  | Name of the column in join table used for right side of the relation | false
### Tag Usage, Field Level (@bes)