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 server database-extended


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 U8563S
Length 2 days
Delivery method Virtual Instructor-Led Training (VILT)
Instructor-led training (ILT)
Onsite dedicated training (OST)
Price USD $1,200
CAD $1,440

Course overview

In this 2-day course you will be introduced to NonStop Server for Java, HP's NonStop implementation of the industry standard. Topics covered include coding client/server programs, Enscribe and NonStop SQL database access, JDBC and stored procedures. 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 system.


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)
  • NonStop SQL/MP Programming (U4182S) or
  • NonStop SQL/MX Programming (U5512S)


  • System designers
  • Application developers
  • Support personnel

Ways to save

Benefits to you

  • ddl2java
  • Enscribe API for Java
  • Accessing SQL/MP with JDBC
  • Java debugging
  • Accessing SQL/MX using SQLJ
  • Accessing SQL/MX using stored procedures

Course outline


  • 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

Java debugging

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

Accessing SQL/MX using SQLJ

  • Benefits of SQLJ
  • SQLJ programming
  • SQLJ iterator
  • Host variable and host expression
  • Host expression versus SQL expression
  • Data type conversion
  • SQLJ/JDBC interoperability

Accessing SQL/MX using SPJ

  • Benefits of SPJ and SPJ environment
  • Stored procedure
  • Writing SPJ Java methods
  • Invoking SPJs in an SQLJ program

Onsite-delivery equipment requirements
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
  • 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.