At a glance
View schedule & enroll Sorted by: location or date
Course number HF867S
Length 4 days
Delivery method Virtual Instructor-Led Training (VILT)
Instructor-led training (ILT)
Onsite dedicated training (OST)
Price USD $2,800
CAD $3,080
*Courses are supported in the delivery formats above, but are not necessarily scheduled in every delivery format listed. Please click the schedule links at the top of the page to see which delivery formats are currently scheduled.

Course overview

This course prepares developers to deploy and/or port Java applications with JToolkit to a NonStop server. Topics include an overview of the Java language, an introduction to NonStop server for Java, coding client/server programs, accessing Pathway applications, Enscribe and NonStop SQL database access, JDBC, stored procedures, and debugging. The four-day course is 70 percent lecture and 30 percent hands-on labs using HP servers.


  • Concepts and Facilities for NonStop Systems (U4147S) and
  • Working knowledge of a programming language and
  • Open System Services (OSS) Application Development and Porting (U5518S) or Open System Services (OSS) for Guardian Developers (U4159S) are recommended


  • System designers
  • Application developers
  • Support personnel

Ways to save

Course objectives

At the conclusion of this course you should be able to:

  • Invoke native methods in re-linked JVM using JNI
  • Use JToolkit to access Enscribe files
  • Describe major classes of the API and their usages
  • Describe JDBC and JDBC API capabilities
  • Write Java code to control JDBC-based and JTA-based transactions
  • Be familiar with the Java debugging tool jdb and available jdb commands
  • Configure a Java server in a Pathway environment
  • Describe the development steps and execution environment of an SQLJ and SPJ program on a NonStop server
  • Describe using Eclipse IDE for developing Java applications

Benefits to you

  • Deploy Java applications using JToolkit with a clear understanding of the features and capabilities in order to reduce programming time and associated costs
  • Ability to preserve and leverage existing NonStop applications with Java application enhancements, reducing overall adoption rate and associated costs

Course outline

Module 1 - OOP and Java Basics

  • Java history
  • OOP and Java benefits
  • Java language syntax
  • Key statements making up the Java language
  • Lab: OOP and Java basics

Module 2 - NonStop Server for Java

  • HP specific features of Java implementation
  • Java installation directory file structure
  • Invoking native methods in re-linked JVM using JNI

Module 3 - JToolkit

  • Overview of JToolkit and ddl2java components
  • Using JToolkit to access Enscribe files
  • Lab: ddl2java

Module 4 - Enscribe API for Java

  • Enscribe API for Java purpose
  • Major classes of the API and their usages
  • Examaples of Enscribe database manager API accessing features
  • Lab: Enscribe API for Java

Module 5 - Accessing SQL/MP with JDBC

  • JDBC overview
  • java.sql package contents
  • JDBC API capabilities
  • JDBC interfaces and their methods
  • Code that accesses an HP NonStop SQL/MP table
  • Lab: accessing SQL/MP with JDBC

Module 6 - Transactions

  • Using JDBC to define transactions in Java
  • Java code to control JDBC-based transactions
  • Using JTS and JTA to define transactions in Java
  • Java code to control JTA-based transactions
  • Support for transactions using JDBC/MX
  • Lab: transactions

Module 7 - Java Debugging

  • Java debugging tool jdb
  • Compiler setting
  • Available jdb commands
  • HP jdb command extensions
  • Sample jdb debugging
  • Lab: Java debugging

Module 8 - Pathsend API for Requesters

  • Pathsend API for Java purpose
  • API major classes and their usages
  • API sending to and receiving messages from a Pathway server class
  • Lab: Pathsend API for requesters

Module 9 - Java API for Servers

  • Java API for Pathway servers purpose
  • API major classes and their usages
  • API and $RECEIVE
  • Configuring a Java server in a Pathway environment
  • Lab: Java API for servers

Module 10 - Accessing SQL/MX Using SPJ

  • Stored Procedures in Java (SPJ) overview and benefits
  • SPJ development steps
  • Execution environment of an SPJ called by an SQLJ program
  • Lab: accessing SQL/MX using SPJ

Module 11 - Developing Java with Eclipse

  • Eclipse overview
  • Using Eclipse Integrated Development Environment (IDE)

Onsite Delivery Equipment Requirements

  • Overhead projection system for laptop computer

Host side:

  • NonStop server running H06.15 or J06.04 for Java 6 or later version of the NonStop kernel operating system with the following components installed
    • NonStop server for Java 6
    • NonStop SQL/MP
    • NonStop SQL/MX 1.8 or later
  • NonStop TS/MP
  • User IDs with access to both Guardian and OSS environments


  • One workstation or PC with network access per student
  • At least 128MB of RAM
  • Desktop software including:
    • Terminal emulator (e.g., OutsideView)
    • FTP client that works with OSS
    • A text editor

HF867S B.00