uCosminexus Application Server, Application Development Guide

[Contents][Glossary][Index][Back][Next]

4.4.2 Creating an EJB project

To create an EJB 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 EJB, EJB project, and then click the Next button.
    The New EJB Project dialog box appears.

    [Figure]

  3. Specify the following items on the EJB project page.
    Item name Explanation
    Project name# Specify the project name of an EJB project to be created.
    Target runtime Specify Cosminexus J2EE server runtime.
    EJB module version Specify 3.1.
    Configuration Specify the project configuration.

    #
    You can only use single-byte alphanumeric characters and underscores (_).
    Specify the following items as and when required:

    Item name Explanation
    Use default location Specify whether the default location is to be used for creating project root.
    Location If 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 an EAR Specify whether an EJB project to be created is to be added to an EAR project.
    EAR project name When you check Add project to an EAR, specify an 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 sets Specify whether the project is to be added to working set.
    Working sets When 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 Java page then appears.
  5. Specify the Java build-related information and then click the Next button.
    The EJB Module page appears.
  6. Configure the EJB module settings, and then click the Finish button.

The created EJB project appears in the Project Explorer view. The following J2EE libraries are added in the created EJB project: