Creating enterprise application projects

You can use wizards to create an enterprise application project in your Java™ EE project.

Before you begin

If you do not see the Java EE icon, J2EE perspective icon, in the top right tab of the workspace, you need to switch to the Java EE perspective.

Procedure

  1. To use the Java EE wizard from the menu bar, select File > New > Project... > Enterprise Application Project. Alternatively, right-click the Enterprise Explorer view, and select New > Enterprise Application Project.
  2. On the Enterprise Application project page, provide the required information:
    • In the Project name field, type a name for your Enterprise Application project.
    • In the Project location field, accept the default, or clear Use default location and type a directory name to contain your project contents.
    • In the Target Runtime field, select a target runtime from the drop-down list or click New to create an application server runtime.
    • In the EAR version field, accept the default or select a different version from the drop-down list.
    • In the Configuration field, select the desired application server configuration, or click Modify to modify the configuration.
  3. Click Next.
  4. On the Configure enterprise application settings page, provide the required information:
    • In the Java EE Module dependencies field, select a module listed or click New Module to create a module.
    • Type a directory location name in the Content Directory: field.
    • Accept the default value in the Generate deployment descriptor field (cleared), or select if you want to generate a deployment descriptor.
  5. Click Finish.

Feedback