The ejb-ref-name element contains the name of an EJB reference. The EJB reference is an entry in the Deployment Component's environment and is relative to the java:comp/env context. The name must be unique within the Deployment Component. It is recommended that name is prefixed with "ejb/". Example: <ejb-ref-name>ejb/Payroll</ejb-ref-name> |
QName | Type | Fixed | Default | Use | Inheritable | Annotation |
---|---|---|---|---|---|---|
id | xsd:ID | optional |
<xsd:complexType name="ejb-ref-nameType"> <xsd:annotation> <xsd:documentation> <![CDATA[ The ejb-ref-name element contains the name of an EJB reference. The EJB reference is an entry in the Deployment Component's environment and is relative to the java:comp/env context. The name must be unique within the Deployment Component. It is recommended that name is prefixed with "ejb/". Example: <ejb-ref-name>ejb/Payroll</ejb-ref-name> ]]> </xsd:documentation> </xsd:annotation> <xsd:simpleContent> <xsd:restriction base="javaee:jndi-nameType"/> </xsd:simpleContent> </xsd:complexType> |