EJB local-reference assembly settings

For EJB 2.0-compliant beans, the EJB local reference element declares a reference to another enterprise bean's local home interface.

Name
Specifies the name of an EJB reference.

This is the JNDI name that the servlet code uses to get a reference to the enterprise bean. The following example illustrates how this element is specified in the deployment descriptor:

<ejb-ref-name>ejb/Payroll</ejb-ref-name>

Description
Contains a description of the parent element.

This can include any information that the EJB archive-file producer wants to provide to the consumer of the EJB archive file.

Link
Used in the ejb-ref element to specify that an EJB reference is linked to an enterprise bean in the encompassing web-application package.

The value of the link element must be the EJB name of an enterprise bean in the same web-application package. The following example illustrates how this element is specified in the deployment descriptor:

<ejb-link>EmployeeRecord</ejb-link>

Local interface
Specifies the fully-qualified name of the enterprise bean's local interface.
Local home
Specifies the fully-qualified name of the enterprise bean's local home interface.
Type
Specifies the expected type of the referenced enterprise bean.

Related tasks
Assembling EJB modules
Developing applications that use JNDI



Searchable topic ID:   uejalocr
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/uejb_ralocr.html

Library | Support | Terms of Use | Feedback