...
Choose this template when the referenced remote home interface can be found by searching in your module's EAR (when the module is included in an EAR) or your module's <dependencies>.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<ejb-ref> <ref-name>name</ref-name> <ejb-link>link</ejb-link> </ejb-ref> |
...
Choose this template when the referenced remote home interface can only be found with additional selection criterion. For example, if the remote home interface name is not unique within your module's EAR (when the module is included in an EAR) or your module's <dependencies> this template will remove any ambiguity.
Code Block | |||||||
---|---|---|---|---|---|---|---|
| |||||||
<ejb-ref> <ref-name>name</ref-name> <pattern> <groupId>group</groupId> <artifactId>artifact</artifactId> <version>version</version> <module>module</module> <type>type</type> <name>link</name> </pattern> </ejb-ref> |
...
Choose this template when the referenced local home interface can be found by searching in your module's EAR (when the module is included in an EAR) or your module's <dependencies>.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<ejb-local-ref> <ref-name>name</ref-name> <ejb-link>link</ejb-link> </ejb-local-ref> |
...
Choose this template when the referenced remote home interface can only be found with additional selection criterion. For example, if the remote home interface name is not unique within your module's EAR (when the module is included in an EAR) or your module's <dependencies> this template will remove any ambiguity.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<ejb-local-ref> <ref-name>name</ref-name> <pattern> <groupId>group</groupId> <artifactId>artifact</artifactId> <version>version</version> <module>module</module> <type>type</type> <name>name</name> </pattern> </ejb-local-ref> |
...
Use this template when the WSDL for the referenced Web service is complete. This reference will target only the ports listed.
Code Block | |||||||
---|---|---|---|---|---|---|---|
| |||||||
<service-ref> <service-ref-name>name</service-ref-name> <!-- Repeat the port element for each port available through the reference --> <port> <port-name>portName</port-name> <protocol>protocol</protocol> <host>host</host> <port>port</port> <uri>uri</uri> <credentials-name>credentials</credentials-name> </port> </service-ref> |
...
Use this template when the WSDL for the referenced service is not complete. The elements specified here will provide the information needed to complete the WSDL.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<service-ref> <service-ref-name>name</service-ref-name> <service-name>service</service-name> <!-- Repeat the port-completion element for every port available from the reference --> <port-completion> <port> <port-name>portName</port-name> <protocol>protocol</protocol> <host>host</host> <port>port</port> <uri>uri</uri> <credentials-name>credentials</credentials-name> </port> <binding-name>binding</binding> </port-completion> </service-ref> |
...
Choose this template when the reference is for a URL.
Code Block | |||||||
---|---|---|---|---|---|---|---|
| |||||||
<resource-ref> <ref-name>name</ref-name> <url>url</resource-url> </resource-ref> |
...
Choose this template when the reference is used to find a connection factory that can be found by searching in your module's EAR (when the module is included in an EAR) or your module's <dependencies>. Typically, this will be a JDBC or JMS connection factory, but it could be any connection factory from a Java EE connector with an <outbound-resourceadapter>.
Code Block | |||||||
---|---|---|---|---|---|---|---|
| |||||||
<resource-ref> <ref-name>name</ref-name> <resource-link>link</resource-link> </resource-ref> |
...
Choose this template when the referenced connection factory can only be found with additional selection criterion. For example, if the connection factory name is not unique within your module's EAR (when the module is included in an EAR) or your module's <[dependencies> this template will remove any ambiguity.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<resource-ref> <ref-name>name</ref-name> <pattern> <groupId>group</groupId> <artifactId>artifact</artifactId> <version>version</version> <module>module</module> <type>type</type> <name>name</name> </pattern> </resource-ref> |
...
Choose this template when the reference is used to find an administered object that can be found by searching in your module's EAR (when the module is included in an EAR) or your module's <dependencies>.
Code Block | |||||||
---|---|---|---|---|---|---|---|
| |||||||
<resource-env-ref> <ref-name>name</ref-name> <!-- <admin-object-module>module</admin-object-module> --> <admin-object-link>link</admin-object-link> </resource-env-ref> |
...
Choose this template when the referenced administered object can only be found with additional selection criterion. For example, if the administered object name is not unique within your module's EAR (when the module is included in an EAR) or your module's <dependencies>, this template will remove any ambiguity.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<resource-env-ref> <ref-name>name</ref-name> <pattern> <groupId>group</groupId> <artifactId>artifact</artifactId> <version>version</version> <module>module</module> <type>type</type> <name>link</name> </pattern> </resource-env-ref> |
...