Petclinic, Building petclinic on windows – HP Integrity NonStop J-Series User Manual

Page 40

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 to build, set up, deploy, and run the PetClinic and JPetStore sample
applications on NonStop systems.

NOTE:

The modifications made to the PetClinic and JPetStore sample applications are discussed

in

“Customizing Sample Applications” (page 135)

.

PetClinic

The PetClinic sample application is an information system that is accessible using a web browser.
The intended users of the application are employees of the clinic, who, in the course of their work,
need to view and manage information regarding veterinarians, clients, and their pets.

This section describes the following steps for the PetClinic sample application.

“Building PetClinic on Windows” (page 40)

“Setting up PetClinic Database on NonStop” (page 42)

“Deploying PetClinic on NonStop” (page 43)

“Running PetClinic on NonStop” (page 45)

Building PetClinic on Windows

To build PetClinic on the Windows system, complete the following steps:
1.

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

\src

includes the customized source for PetClinic.

\etc

includes the Hibernate dialect file (hibernate3sqlmx.jar) for the SQL/MX database.

2.

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

Go to the <My SASH Home>\spring\samples\petclinic\src\main\resources
directory on the Windows system.

40

Installing the Spring Framework

Advertising
This manual is related to the following products: