Enter the in the Coded Name column. The reference name is relative to the java:comp/env/ domain. For example, if the JNDI lookup method refers to the enterprise bean as java:comp/env/ejb/OtherBean then enter ejb/OtherBean.
Choose either or type for the referenced enterprise bean from the Type drop-down list.
Choose either or from the Interfaces drop-down list to specify the type of interface to be used to access the bean.
Select or enter the bean's home interface class name in the Home Interface column.
Enter or select the bean's local or remote interface class name in the Local/Remote Interface column.
You can provide a description for each referenced bean by clicking the folded paper icon from the rightmost column.
For each enterprise bean reference in the list, you can enter either the Enterprise Bean Name of the Target EJB by choosing it from the drop-down list or selecting its JNDI name in the JNDI Name drop-down list. The JNDI name is used to locate the enterprise bean's home interface. Selection of a local option in the Local/Remote Interface box will disable the JNDI Name box.
Editing EJB References
To edit a reference, select the row containing the reference and click Edit. The Edit Enterprise Bean Reference dialog shows the current settings for the reference. Edit the settings and click OK.
Deleting EJB References
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.