User Manual
NOTE: The SAMPLES.zip file is distributed as a part of the NonStop Samples for Java frameworks
- T0874.
SAMPLES.zip is present in the T0874AAB.BIN file in Scout. 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 file from Scout.
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.
NOTE: The sample applications, namely Caveat Emptor and Event Manager web application,
discussed in this section have been verified using Hibernate version 3.5.1.
Prerequisites
• For NonStop system:
Table 18 Softwares to be installed on the NonStop system
For more information:Software
For information on installing and setting up iTP WebServer (secure and
non-secure) on a NonStop system, see the iTP Secure WebServer System
Administrator's Guide.
NonStop iTP WebServer version
7.x or later
For information on installing and setting up NSJSP on a NonStop system, see
the NonStop Servlets for JavaServer Pages (NSJSP) 6.1 System Administrator's
Guide.
NSJSP version 6.1
For information on installing SQL/MX on a NonStop system, see the SQL/MX
Installation and Upgrade Guide.
NonStop SQL/MX version 2.3
For information on installing JDBC Type 2 driver and JDBC Type 4 driver on
a NonStop system, see JDBC Type 2 Driver Programmer's Reference for
SQL/MX and JDBC Type 4 Driver Programmer's Reference for SQL/MX.
JDBC Type 2 driver or JDBC Type
4 driver for the installed SQL/MX
version
For information on installing NSJ on a NonStop system, see the NonStop
Server for Java 5.0 Programmer's Reference.
NSJ version 5.0
• For Windows system:
Table 19 Softwares to be installed on the Windows system
DownloadSoftware
Download from http://www.oracle.com/technetwork/java/javase/downloads/index.html
and set the PATH and JAVA_HOME environment variables.
JDK version 1.5
Download from http://maven.apache.org/download.html and set the PATH and
MAVEN_HOME environment variables.
Maven version
2.2.1
For information on installing JDBC Type 4 driver on a Windows system, see JDBC Type 4
Driver Programmer's Reference for SQL/MX.
JDBC Type 4 driver
Installing the Hibernate Framework 99