2.4.8 Definitions in the DD

This subsection describes the necessary DD definitions when you use the Portable Global JNDI names for look up.

You specify the definitions for look up with the Portable Global JNDI names in application.xml, ejb-jar.xml, and web.xml.

The following table describes the definitions in the DD related to looking up with the Portable Global JNDI names.

Table 2-20 Definitions in the DD for looking up with the Portable Global JNDI names

DD typeTag nameSettings
application.xml<application> - <application-name>Specifies the standard application name.
ejb-jar.xml<ejb-jar> - <module-name>Specifies the standard module name.
web.xml<web-app> - <module-name>Specifies the standard module name. If the tag is specified multiple times, the value set in the tag specified first is applied, and the values set in the second and subsequent tags are ignored.
<web-app> - <env-entry> - <lookup-name>Specifies the Portable Global JNDI name that references another env-entry.
<web-app> - <resource-ref> - <lookup-name>Specifies the Portable Global JNDI name that references another resource-ref.
<web-app> - <resource-env-ref> - <lookup-name>Specifies the Portable Global JNDI name that references another resource-env-ref.
<web-app> - <ejb-ref> - <lookup-name>Specifies the Portable Global JNDI name that references another ejb-ref, or the Portable Global JNDI name that binds the remote business interfaces.
<web-app> - <ejb-local-ref> - <lookup-name>Specifies the Portable Global JNDI name that references another ejb-local-ref, or the Portable Global JNDI name that binds the local business interfaces.
Note
The contents specified in the <module-name> tag and <lookup-name> tag existing in cosminexus.xml and HITACHI Application Integrated Property File differ from the contents specified in the <module-name> tag and <lookup-name> tag set in the above ejb-jar.xml or web.xml.