complexType enterprise-beansType

complexType {http://java.sun.com/xml/ns/javaee}enterprise-beansType

Abstractfalse (This can be used in an instance)
Target Namespacehttp://java.sun.com/xml/ns/javaee
Declared Namespacesxmlns:javaee=http://java.sun.com/xml/ns/javaee
xmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns=http://www.w3.org/2001/XMLSchema


Source

<xsd:complexType name="enterprise-beansType">
    <
xsd:annotation>
        <
xsd:documentation>
The enterprise-beansType declares one or more enterprise
beans. Each bean can be a session, entity or message-driven
bean.
        
</xsd:documentation>
    </
xsd:annotation>
    <
xsd:choice maxOccurs="unbounded">
        <
xsd:element name="session" type="javaee:session-beanType">
            <
xsd:unique name="session-ejb-local-ref-name-uniqueness">
                <
xsd:annotation>
                    <
xsd:documentation>
The ejb-ref-name element contains the name of
an EJB reference. The EJB reference is an entry in
the component's environment and is relative to the
java:comp/env context. The name must be unique within
the component.

It is recommended that name be prefixed with "ejb/".
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:ejb-local-ref"/>
                <
xsd:field xpath="javaee:ejb-ref-name"/>
            </
xsd:unique>
            <
xsd:unique name="session-ejb-ref-name-uniqueness">
                <
xsd:annotation>
                    <
xsd:documentation>
The ejb-ref-name element contains the name of an EJB
reference. The EJB reference is an entry in the
component's environment and is relative to the
java:comp/env context. The name must be unique
within the component.

It is recommended that name is prefixed with "ejb/".
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:ejb-ref"/>
                <
xsd:field xpath="javaee:ejb-ref-name"/>
            </
xsd:unique>
            <
xsd:unique name="session-resource-env-ref-uniqueness">
                <
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 component
code. The name is a JNDI name relative to the
java:comp/env context and must be unique within an
component.
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:resource-env-ref"/>
                <
xsd:field xpath="javaee:resource-env-ref-name"/>
            </
xsd:unique>
            <
xsd:unique name="session-message-destination-ref-uniqueness">
                <
xsd:annotation>
                    <
xsd:documentation>
The message-destination-ref-name element specifies the name
of a message destination reference; its value is
the message destination reference name used in the component
code. The name is a JNDI name relative to the
java:comp/env context and must be unique within an
component.
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:message-destination-ref"/>
                <
xsd:field xpath="javaee:message-destination-ref-name"/>
            </
xsd:unique>
            <
xsd:unique name="session-res-ref-name-uniqueness">
                <
xsd:annotation>
                    <
xsd:documentation>
The res-ref-name element specifies the name of a
resource manager connection factory reference. The name
is a JNDI name relative to the java:comp/env context.
The name must be unique within an component.
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:resource-ref"/>
                <
xsd:field xpath="javaee:res-ref-name"/>
            </
xsd:unique>
            <
xsd:unique name="session-env-entry-name-uniqueness">
                <
xsd:annotation>
                    <
xsd:documentation>
The env-entry-name element contains the name of a
component's environment entry. The name is a JNDI
name relative to the java:comp/env context. The
name must be unique within an component.
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:env-entry"/>
                <
xsd:field xpath="javaee:env-entry-name"/>
            </
xsd:unique>
        </
xsd:element>
        <
xsd:element name="entity" type="javaee:entity-beanType">
            <
xsd:unique name="entity-ejb-local-ref-name-uniqueness">
                <
xsd:annotation>
                    <
xsd:documentation>
The ejb-ref-name element contains the name of
an EJB reference. The EJB reference is an entry in
the component's environment and is relative to the
java:comp/env context. The name must be unique within
the component.

It is recommended that name be prefixed with "ejb/".
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:ejb-local-ref"/>
                <
xsd:field xpath="javaee:ejb-ref-name"/>
            </
xsd:unique>
            <
xsd:unique name="entity-ejb-ref-name-uniqueness">
                <
xsd:annotation>
                    <
xsd:documentation>
The ejb-ref-name element contains the name of an EJB
reference. The EJB reference is an entry in the
component's environment and is relative to the
java:comp/env context. The name must be unique
within the component.

It is recommended that name is prefixed with "ejb/".
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:ejb-ref"/>
                <
xsd:field xpath="javaee:ejb-ref-name"/>
            </
xsd:unique>
            <
xsd:unique name="entity-resource-env-ref-uniqueness">
                <
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 component
code. The name is a JNDI name relative to the
java:comp/env context and must be unique within an
component.
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:resource-env-ref"/>
                <
xsd:field xpath="javaee:resource-env-ref-name"/>
            </
xsd:unique>
            <
xsd:unique name="entity-message-destination-ref-uniqueness">
                <
xsd:annotation>
                    <
xsd:documentation>
The message-destination-ref-name element specifies the name
of a message destination reference; its value is
the message destination reference name used in the component
code. The name is a JNDI name relative to the
java:comp/env context and must be unique within an
component.
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:message-destination-ref"/>
                <
xsd:field xpath="javaee:message-destination-ref-name"/>
            </
xsd:unique>
            <
xsd:unique name="entity-res-ref-name-uniqueness">
                <
xsd:annotation>
                    <
xsd:documentation>
The res-ref-name element specifies the name of a
resource manager connection factory reference. The name
is a JNDI name relative to the java:comp/env context.
The name must be unique within an component.
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:resource-ref"/>
                <
xsd:field xpath="javaee:res-ref-name"/>
            </
xsd:unique>
            <
xsd:unique name="entity-env-entry-name-uniqueness">
                <
xsd:annotation>
                    <
xsd:documentation>
The env-entry-name element contains the name of a
component's environment entry. The name is a JNDI
name relative to the java:comp/env context. The
name must be unique within an component.
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:env-entry"/>
                <
xsd:field xpath="javaee:env-entry-name"/>
            </
xsd:unique>
        </
xsd:element>
        <
xsd:element name="message-driven" type="javaee:message-driven-beanType">
            <
xsd:unique name="messaged-ejb-local-ref-name-uniqueness">
                <
xsd:annotation>
                    <
xsd:documentation>
The ejb-ref-name element contains the name of
an EJB reference. The EJB reference is an entry in
the component's environment and is relative to the
java:comp/env context. The name must be unique within
the component.

It is recommended that name be prefixed with "ejb/".
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:ejb-local-ref"/>
                <
xsd:field xpath="javaee:ejb-ref-name"/>
            </
xsd:unique>
            <
xsd:unique name="messaged-ejb-ref-name-uniqueness">
                <
xsd:annotation>
                    <
xsd:documentation>
The ejb-ref-name element contains the name of an EJB
reference. The EJB reference is an entry in the
component's environment and is relative to the
java:comp/env context. The name must be unique
within the component.

It is recommended that name is prefixed with "ejb/".
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:ejb-ref"/>
                <
xsd:field xpath="javaee:ejb-ref-name"/>
            </
xsd:unique>
            <
xsd:unique name="messaged-resource-env-ref-uniqueness">
                <
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 component
code. The name is a JNDI name relative to the
java:comp/env context and must be unique within an
component.
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:resource-env-ref"/>
                <
xsd:field xpath="javaee:resource-env-ref-name"/>
            </
xsd:unique>
            <
xsd:unique name="messaged-message-destination-ref-uniqueness">
                <
xsd:annotation>
                    <
xsd:documentation>
The message-destination-ref-name element specifies the name
of a message destination reference; its value is
the message destination reference name used in the component
code. The name is a JNDI name relative to the
java:comp/env context and must be unique within an
component.
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:message-destination-ref"/>
                <
xsd:field xpath="javaee:message-destination-ref-name"/>
            </
xsd:unique>
            <
xsd:unique name="messaged-res-ref-name-uniqueness">
                <
xsd:annotation>
                    <
xsd:documentation>
The res-ref-name element specifies the name of a
resource manager connection factory reference. The name
is a JNDI name relative to the java:comp/env context.
The name must be unique within an component.
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:resource-ref"/>
                <
xsd:field xpath="javaee:res-ref-name"/>
            </
xsd:unique>
            <
xsd:unique name="messaged-env-entry-name-uniqueness">
                <
xsd:annotation>
                    <
xsd:documentation>
The env-entry-name element contains the name of a
component's environment entry. The name is a JNDI
name relative to the java:comp/env context. The
name must be unique within an component.
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="javaee:env-entry"/>
                <
xsd:field xpath="javaee:env-entry-name"/>
            </
xsd:unique>
        </
xsd:element>
    </
xsd:choice>
    <
xsd:attribute name="id" type="xsd:ID"/>
</
xsd:complexType>


Documentation

	The enterprise-beansType declares one or more enterprise
	beans. Each bean can be a session, entity or message-driven
	bean.


complexType enterprise-beansType


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.