NonStop Server for Java 7.0 Programmer's Reference

Contents
About this manual.........................................................................................7
Manual information..................................................................................................................7
New and changed information...................................................................................................7
Intended audience....................................................................................................................8
Document organization.............................................................................................................8
Printing this document...............................................................................................................9
Related reading........................................................................................................................9
Notation conventions..............................................................................................................12
1 Introduction to NSJ7.................................................................................14
Features................................................................................................................................14
Java HotSpot server virtual machine..........................................................................................15
Java standard edition development kit (JDK)...............................................................................15
Java naming and directory interface (JNDI)................................................................................16
IPv6 support..........................................................................................................................16
Associated Java based products...............................................................................................16
JDBC drivers for NonStop SQL database access....................................................................17
JToolkit for NonStop servers................................................................................................17
NonStop servlets for JavaServer pages.................................................................................18
NonStop server for Java message service (JMS).....................................................................18
NonStop Tuxedo: Jolt client.................................................................................................19
Stored procedures in Java...................................................................................................19
2 Installation and configuration.....................................................................20
Summary of installation and configuration tasks..........................................................................20
Installation requirements..........................................................................................................20
Preinstallation tasks.................................................................................................................20
Preinstallation tasks for installing 64–bit NSJ7.......................................................................20
Installing NSJ7.......................................................................................................................20
Placing the new software on the NonStop system using DSM/SCM..........................................21
Copying the contents of the PAX file to exact location.............................................................21
Post-installation tasks...............................................................................................................22
Verifying the Java installation...................................................................................................23
Configuring NonStop system for NSJ7.......................................................................................23
Creating larger or additional swap file.................................................................................24
Setting environment variables..............................................................................................24
Symbolic link.....................................................................................................................26
Configuring TCP/IP and DNS for RMI...................................................................................26
Memory considerations: Moving QIO to KSEG2.........................................................................26
NSJ7 directory structure...........................................................................................................28
Directory contents..............................................................................................................28
Demonstration programs.....................................................................................................28
3 Getting started.........................................................................................30
Tutorial: Running a simple program, HelloWorld.........................................................................30
Specifying the CPU and process name......................................................................................31
Configuring a Java Pathway serverclass.....................................................................................32
ARGLIST...........................................................................................................................32
PROCESSTYPE...................................................................................................................32
ENV.................................................................................................................................32
PROGRAM.......................................................................................................................33
Contents 3