Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home
Education & Training  >  Find a course 

Java 4 API programming for HP NonStop servers


Education & Training
US & Canada

» Contact Us
» Register for a class
» Education Centers
» Onsite & Dedicated Training
» What's new
» Find a course
» Big Data
» Business Analysis & Project Management
» Cloud
» Data Center
» HP ExpertOne Customer
» HP ExpertOne Partner
» HP Integrity
» Graphic Solutions
» Linux
» Microsoft
» HP Networking
» HP NonStop
» HP OpenVMS
» HP Project Odyssey
» HP ProLiant
HP BladeSystem
» Security
» HP Storage
» HP Tru64
» Virtualization
» HP VISPEL-Video Training
» VMware
» HP Education Consulting
» Certification
» HP Virtual Rooms
» eLearning
» HP Software Education
Content starts here

At a glance

View schedule & enroll Sorted by: location or date
Course number U8560S
Length 5 days
Delivery method Virtual Instructor-Led Training (VILT)
Instructor-led training (ILT)
Onsite dedicated training (OST)
Price USD $3,000
CAD $3,600

Course overview

In this 5-day course you will learn the overview of the Java language and then be introduced to NonStop Server for Java, HP's NonStop implementation of the industry standard. Topics covered include coding client/server programs, accessing Pathway applications, Enscribe and NonStop SQL database access, JDBC, stored procedures, and debugging. Hands-on labs are used at various points to provide reinforcement of the lecture material. This course is intended for developers who will be creating applications for, or porting applications to a NonStop server.


Before attending this course, students must have:

  • Concepts and facilities for HP NonStop systems course (U4147S)
  • Programming experiences of Java language
  • Open System Services (OSS) for Guardian Developers course (U4159S) or
  • Open System Services (OSS) on HP NonStop servers for UNIX application developers (U4187S) or
  • Open System Services (OSS) application development and porting on HP NonStop servers (U5518S)
  • Pathway Application Programming I (U4189S)
  • NonStop SQL/MP Programming (U4182S) or
  • NonStop SQL/MX Programming (U5512S)


  • System designers
  • Application developers
  • Support personnel

Ways to save

Benefits to you

  • Object oriented programming and Java basics
  • NonStop server for Java
  • ddl2java
  • Enscribe API for Java
  • Accessing SQL/MP with JDBC
  • Transactions
  • Java debugging
  • Pathsend API for Java
  • Pathway API for Java
  • Scalable TCP/IP
  • Accessing SQL/MX using SQLJ
  • Accessing SQL/MX using stored procedures

Course outline

OOP and Java basics

  • Java language overview
  • Exception handling
  • Inheritance and abstraction
  • Package, jar files and tools
  • Lab exercise: Simple Java Program

NonStop server for Java

  • Product highlights
  • Installation directory
  • Invoking Native methods
  • Re-linking the Java Virtual Machine (JVM)


  • Usage of ddl2java
  • Classes generated
  • DDL/Java data type mappings
  • Using converted Java classes
  • Lab exercise: Use ddl2java

Enscribe API for Java

  • Major classes
  • Creating a key-sequenced file
  • File attribute access
  • Access modes and locking
  • Read and write access
  • Lab exercise: Read and write to an Enscribe file

Accessing SQL/MP with JDBC

  • What is JDBC?
  • JDBC API capabilities
  • Loading a driver
  • JDBC driver manager
  • Preparing statements and query execution
  • Lab exercise: Access SQL/MP with JDBC


  • Transactions in Java
  • The connection interface
  • JTS-JTA transactions
  • Java transaction API (JTA)
  • Transactions using JDBC/MX V30
  • Code example
  • Lab exercise: Use JTA

Java debugging

  • Compiler settings
  • jdb commands
  • HP extensions
  • Sample degugging session
  • Lab exercise: Debug a Java program

Pathsend API for Java

  • Tsmp server class
  • Data conversions for request/reply messages
  • Sending a request
  • Reading a reply
  • Lab exercise: Use the Pathsend API

Pathway API for Java

  • Receive class
  • Receive info class
  • Context-free versus context-sensitive servers
  • Configure a Java Pathway serverclass
  • Lab exercise: Build a Pathway serverclass

Scalable TCP/IP

  • Benefits of scalable TCP/IP (SIP)
  • SIP server restrictions
  • SIP client/server programs
  • SIP environment
  • SIP configuration and management tool
  • Lab exercise: Use SIP in a server program and SIP configuration

Accessing SQL/MX using SQLJ

  • Benefits of SQL
  • SQLJ programming
  • SQLJ iterator
  • Host variable and host expression
  • Host expression versus SQL expression
  • Data type conversion
  • SQLJ/JDBC interoperability
  • Lab exercise: Access SQL/MX using SQLJ

Accessing SQL/MX using SPJ

  • Benefits of SPJ and SPJ environment
  • Stored procedure
  • Writing SPJ Java methods
  • Invoking SPJs in an SQLJ program
  • Lab exercise: Access SQL/MX using SPJ

Onsite-delivery equipment requirements

  • Overhead projection system for laptop computer

Host side:

  • NonStop server running the G06.20 or later version of the NonStop Kernel operating system with the following components installed
    • NonStop server for Java 4.0
    • NonStop SQL/MP
    • NonStop SQL/MX 1.8 or later
  • NonStop TS/MP
  • User IDs with access to both Guardian and Open System Services (OSS) environments


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

Privacy statement Using this site means you accept its terms Feedback to Education & Training
© 2014 Hewlett-Packard Development Company, L.P.