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:
- Click . The New window opens.
- In the New window, expand EGL and click Deployment
Descriptor.
- Click Next.
- In the Source folder field, select an EGL
source folder in an EGL project. You can add a deployment descriptor
only to EGL projects.
- Type a name for the file in the EGL deployment descriptor
file name field.
- 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:
- If this is the only deployment descriptor in your project, set
the deploymentDescriptor build descriptor
option to the name of the deployment descriptor file, omitting the
.egldd extension.
- You can include entries from one deployment descriptor in another.
- You can copy the entries from one deployment descriptor into another.