EjbRef

The ejb-refType is used by ejb-ref elements for thedeclaration of a reference to an enterprise bean's home. Thedeclaration consists of: - an optional description - the EJB reference name used in the code of the Deployment Component that's referencing the enterprise bean - the expected type of the referenced enterprise bean - the expected home and remote interfaces of the referenced enterprise bean - optional ejb-link information, used to specify the referenced enterprise bean



Attributes Summary
name : StringThe ejb-ref-name element contains the name of an EJB reference.
type : EjbRefTypeThe ejb-ref-type element contains the expected type of the referenced enterprise bean.
home : StringThe home element contains the fully-qualified name of the enterprise bean’s home interface.
remote : StringThe remote element contains the fully-qualified name of the enterprise bean’s remote interface.
link : StringThe ejb-link element is used in the ejb-ref element to specify that an EJB reference is linked to an enterprise bean in the encompassing J2EE Application package.
description : String@since J2EE1.
/linkedEJB :   
descriptions : Description * @since J2EE1.

Attribute Details

name    -    The ejb-ref-name element contains the name of an EJB reference. This is the JNDI name that the servlet code uses to get a reference to the enterprise bean.Example: <ejb-ref-name>ejb/Payroll</ejb-ref-name>
     data type:  String
     default Value:   unspecified



type    -    The ejb-ref-type element contains the expected type of the referenced enterprise bean. The ejb-ref-type element must be one of the following:<ejb-ref-type>Entity</ejb-ref-type><ejb-ref-type>Session</ejb-ref-type>
     data type: EjbRefType
     default Value:   unspecified
     Allowed Values:  Session   Entity  



home    -    The home element contains the fully-qualified name of the enterprise bean’s home interface.Example: <home>com.aardvark.payroll.PayrollHome</home>
     data type:  String
     default Value:   unspecified



remote    -    The remote element contains the fully-qualified name of the enterprise bean’s remote interface.
     data type:  String
     default Value:   unspecified



link    -    The ejb-link element is used in the ejb-ref element to specify that an EJB reference is linked to an enterprise bean in the encompassing J2EE Application package. The value of the ejb-link element must be the ejb-name of an enterprise bean in the same J2EE Application package. Example: <ejb-link>EmployeeRecord</ejb-link>
     data type:  String
     default Value:   unspecified



description    -    @since J2EE1.4 deprecated, becomes descriptionsThe 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



/linkedEJB    -     
     data type: 



descriptions    -    @since J2EE1.4
     data type: Description*


Copyright IBM Corp. 1997-2004