In the Enterprise JavaBean References property page, list any enterprise bean
referenced by the code of your web component.
The names of the enterprise beans that you enter here must match those listed in the Entry column
of the Environment Entries property page.
To enter a reference to an enterprise bean from the code of your web component:
Click Add. The Add Enterprise Bean Reference dialog box is displayed.
Enter the
in the Coded Name field. For example, if the JNDI lookup method refers to the enterprise bean as
java:comp/env/ejb/OtherBean then enter ejb/OtherBean.
Choose either the
or
type for the referenced enterprise bean from the EJB Type drop-down list.
Choose
or
(default) from the Interfaces drop-down list to specify the type of interface to be used to access the bean.
Enter the name of the enterprise bean's home interface class name in the Home Interface
field.
The matching local/remote interface is selected from the drop-down list in the Local/Remote field. If there is
more than one match, no interface should be chosen.
You may click on the folded paper icon in the rightmost column to enter a description of the enterprise bean.
Select the target EJB from the Target EJB drop-down list or enter the name
of the Target EJB.
Click OK.
To delete a reference, select the row containing the reference and click Delete. A confirmation dialog will ask
you if you really want to delete the reference.