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:
- Click
Window | Preferences to open the Preferences page.
- Expand Java EE, and click the preference category that you want to set.
- 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
- 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:
- Selecting default project structures
- Setting Java compiler compliance
- Selecting default security settings
Related concepts
Developing Java EE Applications
Creating and configuring Java EE modules using annotations
Securing enterprise applications