Jpetstore, Building jpetstore on windows – HP Integrity NonStop H-Series User Manual
Page 54

JPetStore
The intended users of the JPetStore sample application are Visitors and Shoppers. A Visitor is
anyone who visits the site. A Shopper is an authenticated visitor who is signed in to the site.
Visitors can browse the site for items of their interest. Shoppers can purchase items of their
interest.
This section describes how to build, setup, deploy, and run the JPetStore sample application.
•
•
Setting up JPetStore Database on NonStop
•
Deploying JPetStore on NonStop
•
NOTE:
The modifications made to the JPetStore files are described in
Building JPetStore on Windows
To build JPetStore on your Windows system, complete the following steps:
1.
Go to the
directory on your Windows
system. Among other files, this directory consists of the following sub-directories:
\db
includes the database tables creation scripts and dataload scripts.
\src
includes the customized source for JPetStore.
\war
includes all the necessary configuration files required to build the application WAR file.
2.
Modify the JPetStore build file.
•
If you plan to use the JDBC Type 2 driver, set the
spring.root
property in the
SASH Home>\spring\samples\jpetstore build_jdbct2.xml
file:
is
C:\spring-framework-2.5.5
, modify
the
spring.root
property to:
If you plan to use the JDBC Type 4 driver:
1.
Set the
spring.root
properties in the
build_jdbct4.xml
file as:
is
C:\spring-framework-2.5.5
, modify
the
spring.root
file to:
Set the
jdbct4.root
properties in the
build_jdbct4.xml
file as:
is
C:\JDBCT4
,
modify the
jdbct4.root
property to:
3.
Configure the JDBC driver settings for the NonStop SQL/MX database.
1.
Go to the
directory
on your Windows system.
54
Installing Spring Framework