In the EJB Refs tabbed pane, you can edit the list all of the enterprise
beans that are referenced by this application client.
To add an enterprise bean reference:
Click Add.
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 Type column.
Enter the bean's home interface in the Home column.
Enter the bean's remote interface in the Remote column.
Click the rightmost column labelled with a folded paper to provide
a description for each referenced bean.
For each enterprise bean reference in the list, enter its JNDI name in the
JNDI Name field. A client uses the JNDI name to locate the enterprise
bean's home interface.
Select the Use SSL checkbox if you want this application client
to invoke the referenced enterprise bean with
.
To edit the:
Reference name - Select the name in the Coded Name column
and enter the name of the enteprise bean reference, prepended with
ejb/.
Home interface - Select the name in the Home column and enter the referenced enterprise
bean's home interface class name.
Remote interface - Select the name in the Remote column and enter the referenced enterprise
bean's remote interface class name.
Description - Click the rightmost column labelled with a folded paper to enter a
description for each referenced bean.
JNDI Name - Select the enterprise bean reference from the list and enter its JNDI name
in the JNDI Name field. A client uses the JNDI name to locate the
enterprise bean's home interface.
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.