Setting Java EE preferences

Before you begin developing Java™ EE applications, you can optimize the workbench for Java enterprise development by setting a variety of preferences.

To set the Java EE preferences:

  1. Click

    Window | Preferences to open the Preferences page.

  2. Expand Java EE, and click the preference category that you want to set.

  3. Select the elements that you want to set as the default when creating your Java EE application. These Java EE settings include:

    Deployment:

    • Perform Incremental Deployment (default: checked)

    Classpath containers:

    • Use Ear Libraries classpath container (default: checked)

      • Use Java Build Path to control EAR Libraries export (default: unchecked)

    • Use Web App Libraries classpath container (default: checked)

    Classpath checking:

    • Duplicate Java EE Module dependency classpath entries:

      • Error

      • Warning (default)

      • Ignore

    • Duplicate Web Library dependency classpath entries:

      • Error

      • Warning (default)

      • Ignore

    • Missing Java EE Modules dependency classpath entries:

      • Error

      • Warning (default)

      • Ignore

    • Missing Web Library dependency classpath entries:

      • Error

      • Warning (default)

      • Ignore

  4. Click

    Apply to apply the changes and click OK to close the Preferences page.

For information on other Java EE preferences, refer to the following:

 

Related concepts

Developing Java EE Applications

Java EE: Overview

Tools for Java EE development

Project facets

Creating and configuring Java EE modules using annotations

Defining Java EE applications

Securing enterprise applications