Adding modules to an enterprise application

You can use the Application Deployment Descriptor editor to add existing projects in your workspace to your enterprise application as new modules.

About this task

For each module that you add to the enterprise application, a <module> element is defined in the deployment descriptor (application.xml).

Tip: There are shortcuts for adding modules or utility JAR files to an enterprise application. In the Enterprise Explorer view, drag a project and drop it into:
  • The modules box on the Overview section of the deployment descriptor for the enterprise application.

Procedure

  1. In the Enterprise Explorer view of the Java™ EE perspective, right-click the deployment descriptor for your enterprise application project and select Open With > Deployment Descriptor Editor to open the Application Deployment Descriptor editor.
  2. In the modules box on the Overview section, click Add > Module.
  3. Select the existing project in your workspace that you want to add as a module to the application.
  4. Click Finish. The selected module is added to the enterprise application.
  5. If the target server specified for the module is different from the target server that is specified for the enterprise application, the Change Target Server dialog opens. Click Yes to update the target server for the module to be the same target server that is specified for the enterprise application.

What to do next

To remove a module from the enterprise application, select the module from the list and click Remove.

Icon that indicates the type of topic Task topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: tjaddmod.html