Editing an Enterprise Application Client's Deployment Descriptors

See Also

Deployment descriptors are XML-based text files whose elements describe how to assemble and deploy a module to a specific environment. The elements also contain behavioral information about components that is not included directly in code.

An application client generally has the following deployment descriptors:

The deployment descriptors for an application client are located in the project's src/conf folder. You can access the deployment descriptors from the project's Configuration Files node.

To edit application-client.xml:

  1. In the Projects window, expand the Configuration Files node for your application client project.
  2. Double-click application-client.xml to open it in the Source Editor. You have to edit the XML code by hand using the IDE's XML code completion and validation. There is no graphical editor for application-client.xml.

To edit glassfish-application-client.xml:

  1. Double-click glassfish-application-client.xml to open it in the graphical editor.
    The graphical editor opens in a Source Editor tab.
  2. Edit the deployment descriptor as necessary.
  3. Click XML to edit the XML source for glassfish-application-client.xml. The Source Editor provides code completion and validation for all XML files.

To edit the server-specific deployment descriptor for any other application server:

  1. Double-click the deployment descriptor node.
    The IDE opens the XML source of the deployment descriptor in the Source Editor.
See Also
About Enterprise Application Clients
Creating an Enterprise Application Client
Adding a Module to an Enterprise Application
Calling an Enterprise Bean
Verifying an Enterprise Application

Legal Notices