The Add Enterprise Bean Reference dialog box allows you to define a
reference to an enterprise bean.
To add a reference to an enterprise bean:
Enter the in the Coded Name column. 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 the enterprise bean's from the Home Interface drop
down list.
From the Interfaces drop down list, choose if you want to allow local
access to the enterprise bean. Choose if you want to allow remote
access.
Click Description to add a description of this enterprise bean
reference.
Select the target EJB you are referencing. If the target EJB is
in the same .ear or EJB .jar module, you can use the enterprise bean
name to identify the bean. Otherwise, you can provide the JNDI name for
the target EJB.