beautypg.com

Caveat emptor, Building caveat emptor on windows – HP Integrity NonStop H-Series User Manual

Page 300

background image

The sample application distributed with the Hibernate distribution requires modifications to
make it compatible with NonStop systems. For convenience, the modified sample application is
included in the

SAMPLES

file.

NOTE:

The

SAMPLES

file is distributed as a part of the NS Samples for Java Frameworks - T0874

and can be downloaded from Scout for NonStop Servers.

Before you start deploying the sample applications, complete the following steps:

1.

Download

SAMPLES

file from Scout for NonStop Servers.

2.

Add

.zip

extension to it. The file is now named as

SAMPLES. zip

.

3.

Extract

SAMPLES. zip

file to a location on your Windows system.

The

NS-Samples-for-Java-Frameworks

folder appears.

NOTE:

The absolute path of

NS-Samples-for-Java-Frameworks

folder is referred as

<My SASH Home>

The modifications made in the sample application is discussed in the

Customizing Sample

Application

section.

This section describes the following steps for the sample application:

Building sample application on Windows system

Setting up the deployment environment on NonStop system

Deploying sample application on NonStop system

Running sample application on NonStop system

Deploying and running sample Hibernate application on a NonStop system requires the following
actions:

Building Caveat Emptor on Windows

Setting up the Deployment Environment on NonStop

Deploying Caveat Emptor on NonStop

Running Caveat Emptor on NonStop

Caveat Emptor

The Caveat Emptor sample application is an auction system. The intended users of the application
are bidders and the sellers of various items.

This section describes the following steps for the Caveat Emptor sample application.

Building Caveat Emptor on Windows

Setting up the Deployment Environment on NonStop

Deploying Caveat Emptor on NonStop

Running Caveat Emptor on NonStop

Building Caveat Emptor on Windows

To build Caveat Emptor on your Windows system, complete the following steps:

1.

Go to the

<My SASH Home>\hibernate\samples\eg

directory on your Windows

system. Among the other files, this directory must have the following sub-directories:

\setup

includes the necessary environment setup file required to run Caveat Emptor.

\dbconfig

includes the catalog, schema, and table creation script.

300

Installing Hibernate Framework

This manual is related to the following products: