<orion-application-client>
An orion-application-client.xml file contains the deploy-time info for a J2EE application-client. It is located in META-INF/orion-application-client.xml below the client's root. It complements the application-client assembly info found in application-client.xml.

<env-entry-mapping name="theName">deploymentValue</env-entry-mapping>
Overrides the value of an env-entry in the assembly descriptor. It is used to keep the .ear (assembly) clean from deployment-specific values. The body is the value.

name - The name of the context-param.


<ejb-ref-mapping location="ejb/Payroll" name="ejb/Payroll" />
The ejb-ref element is used for the declaration of a reference to another enterprise bean's home. The ejb-ref-mapping ties this to a JNDI-location when deploying.

location - The JNDI location to look up the EJB home from.
name - The ejb-ref's name. Matches the name of an ejb-ref in application-client.xml.


<resource-ref-mapping location="jdbc/TheDS" name="jdbc/TheDSVar">
The resource-ref element is used for the declaration of a reference to an external resource such as a datasource, JMS queue, mail session or similar. The resource-ref-mapping ties this to a JNDI-location when deploying.

location - The JNDI location to look up the resource home from.
name - The resource-ref's name. Matches the name of an resource-ref in application-client.xml.


<lookup-context location="foreign/resource/location">
The specification of an optional javax.naming.Context implementation used for retrieving the resource. This is useful when hooking up with 3rd party modules, such as a 3rd party JMS server for instance. Either use the context implementation supplied by the resource vendor or if none exists write an implementation which in turn negotiates with the vendor software.

location - The name looked for in the foreign context when retrieving the resource.


<context-attribute name="name" value="value" />
An attribute sent to the context. The only mandatory attribute in JNDI is the 'java.naming.factory.initial' which is the classname of the context factory implementation.

name - The name of the attribute.
value - The value of the attribute.