HP Integrity NonStop J-Series User Manual

Page 121

Advertising
background image

In this application:

•

The persistence services are developed using the Hibernate ORM Mapping tool.

•

The employee data is stored in the NonStop SQL/MX database.

•

An Employee ID is generated automatically using the automatic key generation feature in
Hibernate.

This section describes the following steps required to develop, set up, and run the EmployeeInfo
application:

•

“Developing EmployeeInfo on Windows using the Eclipse Galileo IDE” (page 121)

•

“Setting Up the NonStop Environment” (page 143)

•

“Running EmployeeInfo on NonStop” (page 144)

Developing EmployeeInfo on Windows using the Eclipse Galileo IDE

NOTE:
•

It is not mandatory for you to use the Eclipse Galileo IDE. You can use an IDE that supports
Java.

•

The screen captures in this section are based on Eclipse Galileo IDE version 3.5.2. The screen
captures may look different if you use a different version of Eclipse.

The following activities are required to develop the EmployeeInfo application using the Eclipse
Galileo IDE:

•

“Creating the Eclipse Workspace” (page 122)

•

“Creating a New Java Project” (page 123)

•

“Adding Dependency JAR Files to the Project Library” (page 126)

•

“Creating the Package for the EmployeeInfo Application” (page 129)

•

“Creating the Employee.java Class File” (page 129)

•

“Creating the Main Class” (page 131)

•

“Implementing the Business Logic” (page 132)

•

“Creating the Hibernate Mapping File” (page 134)

•

“Setting Hibernate Configurations” (page 137)

•

“Creating the EmployeeInfo Application JAR File” (page 140)

Getting Started with Hibernate

121

Advertising
This manual is related to the following products: