Add Enterprise Bean Reference

EJB Ref's tabbed pane -> Add button

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:

  1. 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.
  2. Choose either the or type for the referenced enterprise bean from the EJB Type drop down list.
  3. Choose the enterprise bean's from the Home Interface drop down list.
  4. 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.
  5. Click Description to add a description of this enterprise bean reference.
  6. 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.

Legal Notices