EJBJar

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

Inherits from type CompatibilityDescriptionGroup and adds the following.

Attributes Summary
ejbClientJar : StringThe 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.
version : String@since J2EE1.
assemblyDescriptor : AssemblyDescriptor  
enterpriseBeans : EnterpriseBean * The enterprise-beans element contains the declarations of one or more enterprise beans.
relationshipList : RelationshipsThe relationships collection describes the relationships in which container managed persistence entity beans and dependent objects participate.

Attribute Details

ejbClientJar    -    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. The Deployer should make the ejb-client JAR file accessible to the client's class-loader. Example:<ejb-client-jar>employee_service_client.jar</ejb-client-jar>
     data type:  String
     default Value:   unspecified



version    -    @since J2EE1.4The 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.
     data type:  String
     default Value:   unspecified



assemblyDescriptor    -     
     data type: AssemblyDescriptor



enterpriseBeans    -    The enterprise-beans element contains the declarations of one or more enterprise beans.
     data type: EnterpriseBean*



relationshipList    -    The relationships collection describes the relationships in which container managed persistence entity beans and dependent objects participate. The relationships element contains an optional description; a list of ejb-entity-ref elements (references to entity beans that participate in container managed relationships but whose abstract persistence schemas are not included in the ejb-jar file);and a list of ejb-relation elements, which specify the container managed relationships.
     data type: Relationships


Copyright IBM Corp. 1997-2004