Creating an EJB Configuration Shared Resource

An EJB Configuration shared resource is necessary to specify the configuration for the JNDI server before running any EJB activity.

Prerequisites

The EJB Configuration shared resource is available at the Resources level. Ensure that you have created a project, as described in Creating a Project.

Ensure that you have already connected to an EJB server, as described in Connecting to an EJB Server.

Procedure

  1. Expand the created project in the Project Explorer view.
  2. Right-click the Resources folder and click New > EJB Configuration.
  3. In the EJB Configuration wizard, the resource folder, package name, and resource name of the EJB configuration are provided by default. If you do not want to use the default configurations, change them accordingly. Click Finish to open the EJB Configuration Editor panel.
  4. Configure the EJB Configuration shared resource in the displayed editor.

  5. Click Test Connection to verify the configuration, as described in EJB Configuration Shared Resource.