complexType ejb-jarType

complexType {http://java.sun.com/xml/ns/j2ee}ejb-jarType

Derived Types
{http://java.sun.com/xml/ns/j2ee}ejb-jarType
 {http://java.sun.com/xml/ns/j2ee}ejb-jar (by type)
Abstractfalse (This can be used in an instance)
Target Namespacehttp://java.sun.com/xml/ns/j2ee
Declared Namespacesxmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns:j2ee=http://java.sun.com/xml/ns/j2ee
xmlns=http://www.w3.org/2001/XMLSchema


Source

<xsd:complexType name="ejb-jarType">
    <
xsd:annotation>
        <
xsd:documentation>
The ejb-jarType defines the root element of the EJB
deployment descriptor. It contains

- an optional description of the ejb-jar file
- an optional display name
- an optional icon that contains a small and a large
icon file name
- mandatory structural information about all included
enterprise beans
- a descriptor for container managed relationships,
if any
- an optional application-assembly descriptor
- an optional name of an ejb-client-jar file for the
ejb-jar.
        
</xsd:documentation>
    </
xsd:annotation>
    <
xsd:sequence>
        <
xsd:group ref="j2ee:descriptionGroup"/>
        <
xsd:element name="enterprise-beans" type="j2ee:enterprise-beansType"/>
        <
xsd:element name="relationships" type="j2ee:relationshipsType" minOccurs="0">
            <
xsd:unique name="relationship-name-uniqueness">
                <
xsd:annotation>
                    <
xsd:documentation>
The ejb-relation-name contains the name of a
relation. The name must be unique within
relationships.
                    
</xsd:documentation>
                </
xsd:annotation>
                <
xsd:selector xpath="j2ee:ejb-relation"/>
                <
xsd:field xpath="j2ee:ejb-relation-name"/>
            </
xsd:unique>
        </
xsd:element>
        <
xsd:element name="assembly-descriptor" type="j2ee:assembly-descriptorType" minOccurs="0">
            <
xsd:annotation>
                <
xsd:documentation>
Providing an assembly-descriptor in the deployment
descriptor is optional for the ejb-jar file
producer.
                
</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
        <
xsd:element name="ejb-client-jar" type="j2ee:pathType" minOccurs="0">
            <
xsd:annotation>
                <
xsd:documentation>
The optional ejb-client-jar element specifies a JAR
file that contains the class files necessary for a
client program to access the
enterprise beans in the ejb-jar file.

Example:

<ejb-client-jar>employee_service_client.jar
</ejb-client-jar>
                
</xsd:documentation>
            </
xsd:annotation>
        </
xsd:element>
    </
xsd:sequence>
    <
xsd:attribute name="version" type="j2ee:dewey-versionType" fixed="2.1" use="required">
        <
xsd:annotation>
            <
xsd:documentation>
The version specifies the version of the
EJB specification that the instance document must
comply with. This information enables deployment tools
to validate a particular EJB Deployment
Descriptor with respect to a specific version of the EJB
schema.
            
</xsd:documentation>
        </
xsd:annotation>
    </
xsd:attribute>
    <
xsd:attribute name="id" type="xsd:ID"/>
</
xsd:complexType>


Documentation

	The ejb-jarType defines the root element of the EJB
	deployment descriptor. It contains
	    - an optional description of the ejb-jar file
	    - an optional display name
	    - an optional icon that contains a small and a large
	      icon file name
	    - mandatory structural information about all included
	      enterprise beans
	    - a descriptor for container managed relationships,
	      if any
	    - an optional application-assembly descriptor
	    - an optional name of an ejb-client-jar file for the
	      ejb-jar.


complexType ejb-jarType


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.