3.6.2 Mapping with DD
The following tables describe the correspondence between the HITACHI MessageDrivenBean Property file and the Deployment Descriptor.
- Organization of this subsection
(1) In EJB 2.0
HITACHI MessageDrivenBean Property file |
Deployment Descriptor |
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Tag name |
Occurrence pattern |
Tag name |
Occurrence pattern |
||||||||||
<hitachi-message-bean-property> |
Once |
<ejb-jar> |
Once |
||||||||||
-- |
-- |
<description> |
Zero or once |
||||||||||
-- |
-- |
<enterprise-beans> |
Once |
||||||||||
-- |
-- |
(Omitted) |
-- |
||||||||||
-- |
-- |
<message-driven> |
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 |
||||||||||
<transaction-type> |
Once |
<transaction-type> |
Once |
||||||||||
<message-selector> |
Zero or once |
<message-selector> |
Zero or once |
||||||||||
<acknowledge-mode> |
Zero or once |
<acknowledge-mode> |
Zero or once |
||||||||||
<message-driven-destination> |
Zero or once |
<message-driven-destination> |
Zero or once |
||||||||||
<destination-type> |
Once |
<destination-type> |
Once |
||||||||||
<subscription-durability> |
Zero or once |
<subscription-durability> |
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-identity> |
Zero or once |
<security-identity> |
Zero or once |
||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
||||||||||
-- |
-- |
<use-caller-identity># |
Once |
||||||||||
<run-as> |
Once |
<run-as># |
Once |
||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
||||||||||
<role-name> |
Once |
<role-name> |
Once |
||||||||||
<user-name> |
Once |
-- |
-- |
||||||||||
<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 |
||||||||||
<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 |
||||||||||
<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 |
-- |
-- |
||||||||||
<runtime> |
Zero or once |
-- |
-- |
||||||||||
(Omitted) |
-- |
-- |
-- |
||||||||||
-- |
-- |
-- |
-- |
(2) In EJB 2.1 or later versions
HITACHI MessageDrivenBean Property file |
Deployment Descriptor |
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Tag name |
Occurrence pattern |
Tag name |
Occurrence pattern |
||||||||||
<hitachi-message-bean-property> |
Once |
<ejb-jar> |
Once |
||||||||||
-- |
-- |
<description> |
Zero or once |
||||||||||
-- |
-- |
<enterprise-beans> |
Once |
||||||||||
-- |
-- |
(Omitted) |
-- |
||||||||||
-- |
-- |
<message-driven> |
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 |
||||||||||
<messaging-type> |
Zero or once |
<messaging-type> |
Zero or once |
||||||||||
<transaction-type> |
Once |
<transaction-type> |
Once |
||||||||||
<activation-config> |
Zero or once |
<activation-config> |
Zero or once |
||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
||||||||||
<activation-config-property> |
One or more times |
<activation-config-property> |
One or more times |
||||||||||
<activation-config-property-name> |
Once |
<activation-config-property-name> |
Once |
||||||||||
<activation-config-property-value> |
Once |
<activation-config-property-value> |
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-identity> |
Zero or once |
<security-identity> |
Zero or once |
||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
||||||||||
-- |
-- |
<use-caller-identity># |
Once |
||||||||||
<run-as> |
Once |
<run-as># |
Once |
||||||||||
<description> |
Zero or more times |
<description> |
Zero or more times |
||||||||||
<role-name> |
Once |
<role-name> |
Once |
||||||||||
<user-name> |
Once |
-- |
-- |
||||||||||
<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 |
||||||||||
<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 |
||||||||||
<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 |
-- |
-- |
||||||||||
<resourceadapter-name> |
Once |
-- |
-- |
||||||||||
<adminobject-name> |
Once |
-- |
-- |
||||||||||
<runtime> |
Zero or once |
-- |
-- |
||||||||||
(Omitted) |
-- |
-- |
-- |
||||||||||
-- |
-- |
-- |
-- |