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 The description element is used by the ejb-jar file producer to provide text describing the parent element.
displayName The display-name element contains a short name that is intended to be display by tools.
smallIcon The small-icon element contains the name of a file containing a small (16 x 16) icon image.
largeIcon The large-icon element contains the name of a file containing a large (32 x 32) icon image.
environmentProperties  
resourceRefs  
securityRoleRefs  
ejbClass  
homeInterface  
remoteInterface  
ejbJar  
ejbRefs  
resourceEnvRefs A list of enterprise bean references to an administered object associated with a resource in the enterprise bean's environment.
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.
ejbLocalRefs  
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: