Hitachi

Hitachi Application Server V10 User's Guide (For Windows® Systems)


7.5.2 Developing an application

Develop an application on Eclipse. If you use an external library, add the library to the project's build path.

Prerequisites

Intended users

Procedure

  1. In Eclipse, select File > New to create a new project.

    Select one of the following projects necessary for the application you are going to develop, and then create a project:

    • Dynamic Web Project

    • EJB Project

    • JAXB Project

    • JPA Project

    • Application Client Project

    • Connector Project

    • Utility Project

    • Web Fragment Project

    • Enterprise Application Project

    In the New Project wizard, specify the runtime registered for Application Server for Target runtime.

    The specified project name becomes the name of the Java EE application. The name of an enterprise application project or the name of a project to be deployed by itself can contain only alphanumeric characters, underscores (_), hyphens (-), and periods (.).

  2. Develop an application by using Eclipse.

    If you use an external library, take the following steps to add the library to the project's build path:

  3. From the Project Explorer view, select a project, and then from the context menu, select Build Path > Configure Build Path.

  4. In the Properties dialog box, select the Java Build Path page, and then select the Libraries tab.

  5. Click the Add External JARs button.

  6. In the JAR Selection dialog box, select a library you want to add, and then click the Open button.

  7. In the Properties dialog box, click the OK button.

Postrequisites