3.5.2 Mapping with DD
The following table describes the correspondence between the HITACHI Entity Bean Property file and the Deployment Descriptor:
HITACHI Entity Bean Property file |
Deployment Descriptor |
|||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Tag name |
Occurrence pattern |
Tag name |
Occurrence pattern |
|||||||||||
<hitachi-entity-bean-property> |
Once |
<ejb-jar> |
Once |
|||||||||||
-- |
-- |
<description> |
Zero or once |
|||||||||||
-- |
-- |
<display-name> |
Zero or once |
|||||||||||
-- |
-- |
<icon> |
Zero or more times |
|||||||||||
-- |
-- |
<small-icon> |
Zero or once |
|||||||||||
-- |
-- |
<large-icon> |
Zero or once |
|||||||||||
-- |
-- |
<enterprise-beans> |
Once |
|||||||||||
-- |
-- |
<session>#1 |
One or more times |
|||||||||||
-- |
-- |
(Omitted) |
-- |
|||||||||||
-- |
-- |
<entity>#1 |
One or more times |
|||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||||||||
<display-name> |
One or more times |
<display-name> |
Zero or more times |
|||||||||||
<icon> |
Zero or more times |
<icon> |
Zero or more times |
|||||||||||
<small-icon> |
Zero or once |
<small-icon> |
Zero or once |
|||||||||||
<large-icon> |
Zero or once |
<large-icon> |
Zero or once |
|||||||||||
-- |
-- |
<ejb-name> |
Once |
|||||||||||
-- |
-- |
<home> |
Zero or once |
|||||||||||
-- |
-- |
<remote> |
Zero or once |
|||||||||||
-- |
-- |
<ejb-class> |
Once |
|||||||||||
<persistence-type> |
Zero or once |
<persistence-type> |
Zero or once |
|||||||||||
<prim-key-class> |
Once |
<prim-key-class> |
Once |
|||||||||||
<reentrant> |
Once |
<reentrant> |
Once |
|||||||||||
<abstract-schema-name> |
Zero or once |
<abstract-schema-name> |
Zero or once |
|||||||||||
<cmp-field> |
Zero or more times |
<cmp-field> |
Zero or more times |
|||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||||||||
<field-name> |
Once |
<field-name> |
Once |
|||||||||||
<primkey-field> |
Zero or once |
<primkey-field> |
Zero or once |
|||||||||||
<env-entry> |
Zero or more times |
<env-entry> |
Zero or more times |
|||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||||||||
<env-entry-name> |
Once |
<env-entry-name> |
Once |
|||||||||||
<env-entry-type> |
Once |
<env-entry-type> |
Once |
|||||||||||
<env-entry-value> |
Once |
<env-entry-value> |
Zero or once |
|||||||||||
<ejb-ref> |
Zero or more times |
<ejb-ref> |
Zero or more times |
|||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||||||||
<ejb-ref-name> |
Once |
<ejb-ref-name> |
Once |
|||||||||||
<ejb-ref-type> |
Once |
<ejb-ref-type> |
Once |
|||||||||||
<home> |
Once |
<home> |
Once |
|||||||||||
<remote> |
Once |
<remote> |
Once |
|||||||||||
<ejb-link> |
Zero or once |
<ejb-link> |
Zero or once |
|||||||||||
<ejb-local-ref> |
Zero or more times |
<ejb-local-ref> |
Zero or more times |
|||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||||||||
<ejb-ref-name> |
Once |
<ejb-ref-name> |
Once |
|||||||||||
<ejb-ref-type> |
Once |
<ejb-ref-type> |
Once |
|||||||||||
<local-home> |
Once |
<local-home> |
Once |
|||||||||||
<local> |
Once |
<local> |
Once |
|||||||||||
<ejb-link> |
Zero or once |
<ejb-link> |
Zero or once |
|||||||||||
<security-role-ref> |
Zero or more times |
<security-role-ref> |
Zero or more times |
|||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||||||||
<role-name> |
Once |
<role-name> |
Once |
|||||||||||
<role-link> |
Zero or once |
<role-link> |
Zero or once |
|||||||||||
<security-identity> |
Zero or once |
<security-identity> |
Zero or once |
|||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||||||||
<use-caller-identity>#2 |
Once |
<use-caller-identity>#2 |
Once |
|||||||||||
<run-as>#2 |
Once |
<run-as>#2 |
Once |
|||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||||||||
<role-name> |
Once |
<role-name> |
Once |
|||||||||||
<user-name> |
Zero or once |
-- |
Once |
|||||||||||
<resource-ref> |
Zero or more times |
<resource-ref> |
Zero or more times |
|||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||||||||
<res-ref-name> |
Once |
<res-ref-name> |
Once |
|||||||||||
<res-type> |
Once |
<res-type> |
Once |
|||||||||||
<res-auth> |
Once |
<res-auth> |
Once |
|||||||||||
<res-sharing-scope> |
Zero or once |
<res-sharing-scope> |
Zero or once |
|||||||||||
<mapped-name> |
Zero or once |
-- |
-- |
|||||||||||
<linked-to> |
Zero or once |
-- |
-- |
|||||||||||
<resource-env-ref> |
Zero or more times |
<resource-env-ref> |
Zero or more times |
|||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||||||||
<resource-env-ref-name> |
Once |
<resource-env-ref-name> |
Once |
|||||||||||
<resource-env-ref-type> |
Once |
<resource-env-ref-type> |
Once |
|||||||||||
<mapped-name> |
Zero or once |
-- |
-- |
|||||||||||
<linked-queue> |
Zero or once |
-- |
-- |
|||||||||||
<resource-adapter> |
Once |
-- |
-- |
|||||||||||
<queue> |
Once |
-- |
-- |
|||||||||||
<linked-adminobject> |
Zero or once |
-- |
-- |
|||||||||||
<resource-adapter-name> |
Once |
-- |
-- |
|||||||||||
<adminobject-name> |
Once |
-- |
-- |
|||||||||||
<query> |
Zero or more times |
<query> |
Zero or more times |
|||||||||||
<description> |
Zero or once |
<description> |
Zero or once |
|||||||||||
<query-method> |
Once |
<query-method> |
Once |
|||||||||||
<method-name> |
Once |
<method-name> |
Once |
|||||||||||
<method-params> |
Once |
<method-params> |
Once |
|||||||||||
<method-param> |
Zero or more times |
<method-param> |
Zero or more times |
|||||||||||
<result-type-mapping> |
Zero or once |
<result-type-mapping> |
Zero or once |
|||||||||||
<ejb-ql> |
Once |
<ejb-ql> |
Once |
|||||||||||
-- |
-- |
<assembly-descriptor> |
Zero or once |
|||||||||||
-- |
-- |
<security-role> |
Zero or more times |
|||||||||||
-- |
-- |
<description> |
Zero or more times |
|||||||||||
-- |
-- |
<role-name> |
Once |
|||||||||||
<method-permission> |
Zero or more times |
<method-permission> |
Zero or more times |
|||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||||||||
<role-name>#3 |
One or more times |
<role-name>#3 |
One or more times |
|||||||||||
<unchecked>#3 |
Once |
<unchecked>#3 |
Once |
|||||||||||
<method> |
One or more times |
<method> |
One or more times |
|||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||||||||
-- |
-- |
<ejb-name> |
Once |
|||||||||||
<method-intf> |
Zero or once |
<method-intf> |
Zero or once |
|||||||||||
<method-name> |
Once |
<method-name> |
Once |
|||||||||||
<method-params> |
Zero or once |
<method-params> |
Zero or once |
|||||||||||
<method-param> |
Zero or more times |
<method-param> |
Zero or more times |
|||||||||||
<container-transaction> |
Zero or more times |
<container-transaction> |
Zero or more times |
|||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||||||||
<method> |
One or more times |
<method> |
One or more times |
|||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||||||||
-- |
-- |
<ejb-name> |
Once |
|||||||||||
<method-intf> |
Zero or once |
<method-intf> |
Zero or once |
|||||||||||
<method-name> |
Once |
<method-name> |
Once |
|||||||||||
<method-params> |
Zero or once |
<method-params> |
Zero or once |
|||||||||||
<method-param> |
Zero or more times |
<method-param> |
Zero or more times |
|||||||||||
<trans-attribute> |
Once |
<trans-attribute> |
Once |
|||||||||||
<exclude-list> |
Zero or once |
<exclude-list> |
Zero or once |
|||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||||||||
<method> |
One or more times |
<method> |
One or more times |
|||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
|||||||||||
-- |
-- |
<ejb-name> |
Once |
|||||||||||
<method-intf> |
Zero or once |
<method-intf> |
Zero or once |
|||||||||||
<method-name> |
Once |
<method-name> |
Once |
|||||||||||
<method-params> |
Zero or once |
<method-params> |
Zero or once |
|||||||||||
<method-param> |
Zero or more times |
<method-param> |
Zero or more times |
|||||||||||
-- |
-- |
<ejb-client-jar> |
Zero or once |
|||||||||||
<runtime> |
Zero or once |
-- |
-- |
|||||||||||
(Omitted) |
-- |
-- |
-- |
|||||||||||
-- |
-- |
-- |
-- |