javaee:resource-env-ref-name

The resource-env-ref-name element specifies the name
of a resource environment reference; its value is
the environment entry name used in
the Deployment Component code.  The name is a JNDI
name relative to the java:comp/env context and must
be unique within a Deployment Component.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
id xsd:ID optional

Source

<xsd:element name="resource-env-ref-name" type="javaee:jndi-nameType">
  <xsd:annotation>
    <xsd:documentation>The resource-env-ref-name element specifies the name of a resource environment reference; its value is the environment entry name used in the Deployment Component code. The name is a JNDI name relative to the java:comp/env context and must be unique within a Deployment Component.</xsd:documentation>
  </xsd:annotation>
</xsd:element>

Sample