Creating an EGL deployment descriptor

The EGL deployment descriptor provides service-binding detail when you generate a service, or a logical unit (program, library, handler, or service) that invokes a service.

The EGL deployment descriptor is distinct from JEE deployment descriptors. For information on JEE deployment descriptors, see Defining JEE enterprise applications (EARs).

You can have as many deployment descriptors in your EGL project as you want, but only one can be selected as the main deployment descriptor in the deploymentDescriptor build descriptor option. That main deployment descriptor can include entries from other deployment descriptor files, linking the main deployment descriptor to the other deployment descriptors without directly copying their information. Alternately, you can copy the information from one deployment descriptor directly into another.

Follow these steps to create a new EGL deployment descriptor file:

  1. Click File > New > Other. The New window opens.
  2. In the New window, expand EGL and click Deployment Descriptor.
  3. Click Next.
  4. In the Source folder field, select an EGL source folder in an EGL project. You can add a deployment descriptor only to EGL projects.
  5. Type a name for the file in the EGL deployment descriptor file name field.
  6. Click Finish.
The new deployment descriptor file is created and opens in the editor. The next step is to configure your project to use the new deployment descriptor. There are several ways to configure your project in this way:

Feedback