EnterpriseBean

EnterpriseJavaBean is a class. It can have instances, someone could write an instance document containing Departments and Employees. It also has attributes, operations, and associations. These are actually derived/filtered from its implementation classes and interfaces. For mapping and browsing purposes, though, you would like the EJB to appear as a class. In this light, even Session Beans can have associations and properties implemented by their bean. For example, it would be meaningful to describe associations from a Session to the Entities which it uses to perform its work.

Inherits from type eClass and adds the following.

Attributes Summary
description : StringThe description element is used by the ejb-jar file producer to provide text describing the parent element.
displayName : StringThe display-name element contains a short name that is intended to be display by tools.
smallIcon : StringThe small-icon element contains the name of a file containing a small (16 x 16) icon image.
largeIcon : StringThe large-icon element contains the name of a file containing a large (32 x 32) icon image.
environmentProperties : EnvEntry *  
resourceRefs : ResourceRef *  
securityRoleRefs : SecurityRoleRef *  
ejbClass :   
homeInterface :   
remoteInterface :   
ejbJar :   
ejbRefs : EjbRef *  
resourceEnvRefs : ResourceEnvRef * A list of enterprise bean references to an administered object associated with a resource in the enterprise bean's environment.
securityIdentity : SecurityIdentityThe security-identity element specifies whether the caller's security identity is to be used for the execution of the methods of the enterprise bean or whether a specific run-as identity is to be used.
ejbLocalRefs : EJBLocalRef *  
localHomeInterface :   
localInterface :   

Attribute Details

description    -    The description element is used by the ejb-jar file producer to provide text describing the parent element. The description element should include any information that the ejb-jar file producer wants to provide to the consumer of the ejb-jar file (i.e. to the Deployer). Typically, the tools used by the ejb-jar file consumer will display the description when processing the parent element.
     data type:  String
     default Value:   unspecified



displayName    -    The display-name element contains a short name that is intended to be display by tools.
     data type:  String
     default Value:   unspecified



smallIcon    -    The small-icon element contains the name of a file containing a small (16 x 16) icon image. The file name is relative path within the ejb-jar file. The image must be either in the JPEG or GIF format, and the file name must end with the suffix ".jpg" or ".gif" respectively. The icon can be used by tools.Example: <small-icon>employee-service-icon16x16.jpg</small-icon>
     data type:  String
     default Value:   unspecified



largeIcon    -    The large-icon element contains the name of a file containing a large (32 x 32) icon image. The file name is relative path within the ejb-jar file.The image must be either in the JPEG or GIF format, and the file name must end with the suffix ".jpg" or ".gif" respectively. The icon can be used by tools.Example: <large-icon>employee-service-icon32x32.jpg</large-icon>
     data type:  String
     default Value:   unspecified



environmentProperties    -     
     data type: EnvEntry*



resourceRefs    -     
     data type: ResourceRef*



securityRoleRefs    -     
     data type: SecurityRoleRef*



ejbClass    -     
     data type: 



homeInterface    -     
     data type: 



remoteInterface    -     
     data type: 



ejbJar    -     
     data type: 



ejbRefs    -     
     data type: EjbRef*



resourceEnvRefs    -    A list of enterprise bean references to an administered object associated with a resource in the enterprise bean's environment. It consists of an optional description, the resource environment reference name, and an indication of the resource environment reference type expected by the enterprise bean code.
     data type: ResourceEnvRef*



securityIdentity    -    The security-identity element specifies whether the caller's security identity is to be used for the execution of the methods of the enterprise bean or whether a specific run-as identity is to be used. Itcontains an optional description and a specification of the security identity to be used.
     data type: SecurityIdentity



ejbLocalRefs    -     
     data type: EJBLocalRef*



localHomeInterface    -     
     data type: 



localInterface    -     
     data type: 


Copyright IBM Corp. 1996-2002