beautypg.com

HP Integrity NonStop H-Series User Manual

Page 47

background image

OSS> jar –xvf spring_dist.jar

OSS> jar –xvf spring_lib.jar

After extraction,

<NonStop Spring Home>

must have two sub-directories:

<NonStop

Spring Home>/dist

and

<NonStop Spring Home>/lib

.

NOTE:

The sub-directories on your NonStop system must contain the same list of files as

those in the

<Spring Home>\dist

and

<Spring Home>\lib

directories on your Windows

system.

This completes the installation of Spring runtime libraries on a NonStop system. You can use
these libraries when developing and running Spring applications on a NonStop system.

Deploying and Running Sample Spring Applications on NonStop

The sample applications available in the Spring distribution are:

PetClinic

JPetStore

ImageDB

PetPortal

The sample applications distributed with the Spring framework require modifications to make
them compatible with NonStop systems. For convenience purposes, the modified sample
applications are 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 deploy the sample applications, complete the following steps:

1.

Download the

SAMPLES

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 your 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 following steps for the PetClinic, JPetStore, and ImageDB sample
applications:

Building the sample application on Windows system

Setting up the sample application database on NonStop system

Deploying the sample application on NonStop system

Running the sample application on NonStop system

Deploying and Running Sample Spring Applications on NonStop

47

This manual is related to the following products: