4.4.1 Creating a dynamic Web project

To create a dynamic Web 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 Web, Dynamic Web Project, and then click the Next button.
    The New Dynamic Web Project dialog box appears.

    [Figure]

  3. Specify the following items on the Dynamic Web Project page:
    Item nameExplanation
    Project name#Specify the project name of the dynamic Web project to be created.
    Target runtimeSpecify Cosminexus J2EE server runtime.
    Dynamic web module versionSpecify 3.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 project to an EARSpecify whether the dynamic Web project to be created is to be added to an EAR project.
    EAR project nameWhen you check Add project to an EAR, specify the EAR project to be added. You can also specify from the New EAR Application Project dialog box displayed by clicking the New Project button.
    Add a project to a working setsSpecify whether the project is to be added to a working set.
    Working setsWhen you check the 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 Java page appears.
  5. Specify the Java build-related information and then click the Next button.
    The Web Module page appears.
  6. Configure the Web module settings, and then click the Finish button.
    The created dynamic Web project appears in the Project Explorer view. The following J2EE libraries are added in the created dynamic Web project:
    • j2ee-javax.jar (Developer-installation-directory\CC\client\lib)
    • csmjaxp.jar (Developer-installation-directory\jaxp\lib)
    • csmjaxb.jar (Developer-installation-directory\jaxp\lib)
    • cjjaxws.jar (Developer-installation-directory\jaxws\lib)