4.4.4 Creating an enterprise application project

To create an Enterprise application project:

  1. From the Eclipse menu bar, choose File, New, and then Other.
    The New dialog box appears.
  2. In the New dialog box, choose Java EE, Enterprise Application Project, and then click the Next button.
    The New EAR Application Project dialog box appears.

    [Figure]

  3. Define the enterprise application project on the EAR Application Project page.
    Item NameExplanation
    Project name#Specify the project name of an Enterprise application project to be created.
    Target runtimeSpecify Cosminexus J2EE server runtime.
    EAR versionSpecify 6.0.
    ConfigurationSpecify project configuration.
    #
    You can only use single-byte alphanumeric characters and underscores (_).
    Specify the following items as and when required.

    Item NameExplanation
    Use default locationSpecify whether the default location is to be used for creating project root.
    LocationIf Use default location is not checked, specify the path of any location. You can also specify from the Folder Reference dialog box displayed by clicking the Browse button.
    Add a project to a working setsSpecify whether the project is to be added to a working set.
    Working setsWhen you check Add project to working sets, specify the working set to be added. You can also specify from the Select Working Set dialog box displayed by clicking the Select button.
  4. Click the Next button.
    The Enterprise Application page appears.
  5. Select or add a J2EE module of the new enterprise application, and then click the Finish button.

    [Figure]

    The created enterprise application project appears in the Project Explorer view.