complexType ejb-jarType

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

Derived Types
{http://java.sun.com/xml/ns/javaee}ejb-jarType
 {http://java.sun.com/xml/ns/javaee}ejb-jar (by type)
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="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
- structural information about all included
enterprise beans that is not specified through
annotations
- structural information about interceptor classes
- 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="javaee:descriptionGroup"/>
        <
xsd:element name="enterprise-beans" type="javaee:enterprise-beansType" minOccurs="0"/>
        <
xsd:element name="interceptors" type="javaee:interceptorsType" minOccurs="0"/>
        <
xsd:element name="relationships" type="javaee: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="javaee:ejb-relation"/>
                <
xsd:field xpath="javaee:ejb-relation-name"/>
            </
xsd:unique>
        </
xsd:element>
        <
xsd:element name="assembly-descriptor" type="javaee: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="javaee: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="javaee:dewey-versionType" fixed="3.0" 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="metadata-complete" type="xsd:boolean">
        <
xsd:annotation>
            <
xsd:documentation>
The metadata-complete attribute defines whether this
deployment descriptor and other related deployment
descriptors for this module (e.g., web service
descriptors) are complete, or whether the class
files available to this module and packaged with
this application should be examined for annotations
that specify deployment information.

If metadata-complete is set to "true", the deployment
tool must ignore any annotations that specify deployment
information, which might be present in the class files
of the application.

If metadata-complete is not specified or is set to
"false", the deployment tool must examine the class
files of the application for annotations, as
specified by the specifications.
            
</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
	    - structural information about all included
	      enterprise beans that is not specified through
              annotations
            - structural information about interceptor classes
	    - 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.