Setting up the sample springtmfadapter on nonstop, Prerequisites – HP Integrity NonStop J-Series User Manual

Page 28

Advertising
background image

6.

PROPAGATION_NEVER: Does not support a current transaction; throws an exception if a
current transaction exists.

7.

PROPAGATION_NESTED: If a current transaction exists, it executes within a nested transaction:
otherwise, the behavior is similar to PROPAGATION_REQUIRED. This behavior is not supported
on NonStop.

Setting up the Sample SpringTMFAdapter on NonStop

The sample SpringTMFAdapter is included along with the Spring application. springtmf.jar
is the SpringTMFAdapter, which is used by the Spring application to create tmf transactions.

The SpringTMFAdapter is available via the SAMPLES.zip file, which is distributed as a part
of T0937.

To obtain the springtmf.jar and the samples, complete the following steps:
1.

Create a directory on your Windows system. This directory is referred as <TMF Adapter
Home>

.

For example, C:\TMF

2.

Download the ADAPTER and SAMPLES file from Scout. For information on how to download
from Scout, see

https://h20453.www2.hp.com/scout/download_help.htm

.

3.

Add the .zip extensions to both the files. The files will be renamed ADAPTER.zip and
SAMPLES.zip

.

4.

Extract the ADAPTER.zip file to <TMF Adapter Home>.

The SpringTMFAdapter folder containing the springtmf.jar file appears. For example,
C:\TMF\SpringTMFAdapter\springtmf.jar

5.

Extract the SAMPLES.zip file to <TMF Adapter Home> to get the sample application. The
sample application can be found at C:\TMF\Samples

You can now use springtmf.jar in a Spring application to create TMF transactions.

After obtaining the springtmf.jar and samples, you can build, set up, deploy, and run the
sample SpringTMFAdapter application on a NonStop system. The following sections describe
how to build, set up, deploy, and run the application.

Prerequisites

Before getting started, make sure that you have the following software installed on the NonStop
and Windows systems:

NonStop System

Table 5 Softwares to be installed on the NonStop system

For more information:

Software

For information on installing SQL/MX on a NonStop system, see the SQL/MX
Installation and Upgrade Guide
.

NonStop SQL/MX version 3.2

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 6.0 Programmer's Reference
manual.

NSJ version 6.0

Windows System

28

Spring Framework

Advertising
This manual is related to the following products: