User Manual

Contents
6 Hibernate Overview...............................................................................151
Hibernate Projects.................................................................................................................151
Hibernate Annotations......................................................................................................151
Hibernate EntityManager..................................................................................................151
Hibernate Applications on NonStop........................................................................................152
7 Installing the Hibernate Framework...........................................................153
Prerequisites.........................................................................................................................153
NonStop system...............................................................................................................153
Windows system..............................................................................................................153
Installing Hibernate Framework Libraries on NonStop................................................................153
Downloading the Hibernate Distribution on Windows...........................................................154
Downloading Hibernate Dependency JAR Files using Maven.................................................155
Including the Hibernate Dialect for the SQL/MX database to the Hibernate Distribution.............157
Copying the Hibernate Distribution from Windows to NonStop..............................................157
Deploying and Running Sample Hibernate Applications on NonStop..........................................158
Caveat Emptor................................................................................................................159
The EventManager Web Application .................................................................................163
8 Configuring Hibernate Applications on NonStop Systems............................170
NonStop Platform Configurations............................................................................................170
Determining the Application Parameters..............................................................................170
Determining the Maximum Capacity of NSJSP Instance.........................................................170
Configuring iTP WebServer for Hibernate Applications.........................................................171
Configuring NSJSP for Hibernate Applications.....................................................................175
Hibernate Framework Configurations for NonStop Systems.........................................................180
JDBC Driver for SQL/MX Database....................................................................................181
Database Transaction Management...................................................................................188
Connection Pooling..........................................................................................................189
Module File Caching Configurations.......................................................................................190
Configuring NonStop SQL/MX DataSource for MFC............................................................190
Modifying the Hibernate Application..................................................................................191
Enabling Browse Access........................................................................................................191
Hibernate Applications.....................................................................................................191
Spring and Hibernate Applications....................................................................................192
9 Getting Started with Hibernate.................................................................196
Prerequisites.........................................................................................................................196
NonStop System..............................................................................................................196
Windows System.............................................................................................................196
Overview of EmpIoyeeInfo.....................................................................................................196
Developing EmployeeInfo on Windows using the Eclipse Galileo IDE......................................197
Setting Up the NonStop Environment..................................................................................218
Running EmployeeInfo on NonStop....................................................................................220
E Customizing Sample Applications.............................................................221
Customizing Caveat Emptor...................................................................................................221
Added Files.....................................................................................................................221
Modified Files.................................................................................................................223
Customizing EventManager...................................................................................................223
Added Directories............................................................................................................223
Added Files.....................................................................................................................224
Modified File...................................................................................................................225
Contents 149