beautypg.com

Installing the hibernate framework, Prerequisites, Nonstop system – HP Integrity NonStop J-Series User Manual

Page 92: Windows system

background image

3.

The Application layer passes the request to the persistence layer (that is, Hibernate). Hibernate
establishes connection with the database, performs database operations (such as create,
update, retrieve, and delete), and then returns persistent object to the application.

NOTE:

Persistent objects are the Java classes, which are mapped with database tables.

Installing the Hibernate Framework

This section describes the procedure to install Hibernate framework libraries on a Nonstop system.

Prerequisites

Before getting started, ensure that you have the following software installed on the NonStop and
Windows system:

NonStop system

Table 16 Softwares to be installed on the NonStop system

For more information:

Software

For information on installing NSJ on a NonStop system, see the NonStop Server
for Java 6.0 Programmer's Reference Manual
.

NSJ version 6.0

Windows system

Table 17 Softwares to be installed on the Windows system

Download

Software

Download from

http://www.oracle.com/technetwork/java/javase/downloads/index.html

and

set the PATH and JAVA_HOME environment variables.

JDK version 1.6

Download from

http://gradle.org/downloads

and set the PATH and GRADLE_HOME environment

variables.

Gradle
1.0-milestone-8a

Installing Hibernate Framework Libraries on NonStop

1.

“Downloading the Hibernate Distribution on Windows” (page 93)

2.

“Downloading Hibernate Dependency JAR Files using Gradle” (page 93)

3.

“Including the Hibernate Dialect for the SQL/MX database” (page 93)

4.

“Copying the Hibernate Distribution from Windows to NonStop” (page 94)

NOTE:

Before you start installing the Hibernate framework, extract the contents of the SAMPLES.zip
file (containing OpenSource Java frameworks for NonStop) to a directory on the Windows
system.

Throughout the section, references are made to the following directories:

:

The directory on the Windows system where the Hibernate

distribution files are extracted.

: The OSS directory on the NonStop system where the

Hibernate runtime JAR files are located.

:

The directory on the Windows system where the contents of the

SAMPLES.zip

file (distributed as a part of the NonStop Samples for Java frameworks -

T0874 and available for download in Scout) is extracted.

92

Hibernate Framework

This manual is related to the following products: