Adding an External Resource to an Enterprise Application

See Also

When you package an enterprise application as an EAR file, the default package includes only those files that are part of the enterprise application. To add a file that is external to the enterprise application to the EAR package, use the Project Properties dialog box. External resources might include JAR files, libraries, or other projects that reside outside the enterprise application.

To add external resources to an EAR file:

  1. In the Projects window, right-click the project node and choose Properties.
  2. In the left panel, click Packaging.
  3. In the Additional content to include section, click Add JAR/Folder, Add Library, or Add Project.
  4. (Optional) Exclude content from the project using the Add Filter button.
See Also
About Enterprise Applications
Creating an Enterprise Application
Adding a Module to an Enterprise Application
Editing an Enterprise Application's Deployment Descriptors

Legal Notices