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

Page 159

Advertising
background image

NOTE:

The SAMPLES.zip file is distributed as a part of the NS Samples for Java Frameworks

- T0874.

SAMPLES.zip

is present in the T0874AAB.BIN file in Scout for NonStop Servers. For information

on how to install the T0874AAB.BIN file from Scout, see

https://h20453.www2.hp.com/scout/

download_help.htm

.

Before you deploy the sample applications, complete the following steps:

1.

Download the SAMPLES.zip file from Scout for NonStop servers.

2.

Add the .zip extension to it.

The file is renamed as SAMPLES.zip.

3.

Extract the SAMPLES.zip file to a location on the Windows system.

The NS-Samples-for-Java-Frameworks folder appears.

NOTE:

The absolute path of the NS-Samples-for-Java-Frameworks folder is referred

as <My SASH Home>.

This section describes the steps required to build, set up, deploy, and run the Caveat Emptor and
Event Manager sample applications on NonStop systems.

The modifications to the sample applications are discussed in

“Customizing Sample Applications”

(page 221)

.

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” (page 159)

“Setting up the Deployment Environment on NonStop” (page 161)

“Deploying Caveat Emptor on NonStop” (page 163)

“Running Caveat Emptor on NonStop” (page 163)

Building Caveat Emptor on Windows

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

1.

Go to the <My SASH Home>\hibernate\samples\eg directory on the Windows system.
Among the other files, this directory must include the following sub-directories:

\setup

includes the environment setup file required to run Caveat Emptor.

\dbconfig

includes the catalog, schema, and table creation script.

\src

includes the Java source files and mapping files of Caveat Emptor.

2.

Configure the JDBC driver settings for the NonStop SQL/MX database.

Deploying and Running Sample Hibernate Applications on NonStop

159

Advertising
This manual is related to the following products: