Java Stand-alone Applications on z/OS Volume II

Book description

This IBM Redbooks publication is the second book in a series of two about Java stand-alone applications on z/OS. We recommend using this document as a complement to Java stand-alone Applications on z/OS Volume I, SG24-7177.
This book explains some topics discussed in Volume 1 in more depth, and also provides information about additional topics. It pays special attention to JZOS, a newly integrated function in the z/OS SDKs that can be used to run Java batch jobs and perform I/O.
This document also features other interesting topics, such as the use of Eclipse and WebSphere Developer for zSeries for integrated development of stand-alone Java applications, Java Native Interface (JNI), the new Java Virtual Machine Tool Interface (JVMTI) and problem determination with SDK 5 on z/OS.

Please note that the additional material referenced in the text is not available from IBM.

Table of contents

  1. Notices
    1. Trademarks
  2. Preface
    1. The team that wrote this redbook
    2. Become a published author
    3. Comments welcome
  3. Chapter 1: Introduction
    1. Why Java batch on z/OS?
      1. Major enhancements in SDK 5.0
      2. Conclusion
  4. Chapter 2: Java on z/OS - The basics
    1. Java overview
      1. Java on z/OS
      2. Considerations when using Java on z/OS
    2. Garbage collection
      1. Garbage Collection in IBM SDK 5.0
      2. Detailed description of Garbage Collection (1/2)
      3. Detailed description of Garbage Collection (2/2)
  5. Chapter 3: Job management using JZOS
    1. Positioning of JZOS
    2. JZOS launcher settings and return codes
    3. Art of job management using JZOS (1/2)
    4. Art of job management using JZOS (2/2)
      1. Best practice considerations (1/2)
      2. Best practice considerations (2/2)
    5. Console communication with batch jobs
      1. MVS console communication overview
      2. JZOS APIs for console communication
      3. JZOS console communication example
  6. Chapter 4: Java development and job management with Eclipse
    1. Overview
    2. Setting up Eclipse for host interaction
      1. Prerequisites
      2. Set up Ant FTP support in Eclipse
      3. Import sample project
      4. Configure the project (1/2)
      5. Configure the project (2/2)
    3. Developing Java applications
      1. Submitting jobs and controlling output
      2. Customizing the Java application
    4. Debugging
      1. Setting options
      2. Working with the Eclipse debugger
  7. Chapter 5: Using WebSphere Developer for zSeries
    1. Overview of WDz
    2. Setting up a basic connection with the host
    3. Editing MVS file systems with WDz
    4. Managing MVS jobs with WDz
    5. Remote debugging using WDz
    6. Remote debugging of a Java application with JNI calls
  8. Chapter 6: Java Native Interface (JNI)
    1. Introducing the Java Native Interface (JNI)
      1. Basic elements of JNI
      2. z/OS 64-bit considerations
      3. JNI and the Garbage Collector
    2. Getting started with a JNI application
      1. Developing a simple JNI program
    3. More advanced JNI usage
      1. Calling system services from a Java application
      2. Calling a COBOL program from a Java application
    4. Integrating Java and COBOL using IBM Enterprise Object-Oriented COBOL
      1. IBM Enterprise COBOL for z/OS introduction
      2. Preparing object-oriented applications under UNIX
      3. Java program calling COBOL
      4. COBOL program calling Java
  9. Chapter 7: I/O using the JZOS toolkit API
    1. JZOS toolkit library introduction
    2. JZOS classes
    3. Usage examples
      1. Copying members of a data set using JZOS FileFactory
      2. Copying members of a data set using ZFile
      3. BPXWDYN
      4. Working with VSAM files (1/2)
      5. Working with VSAM files (2/2)
    4. JZOS versus JRIO
  10. Chapter 8: Java problem determination
    1. Typical Java problems
      1. OutOfMemory problems
      2. Hang or deadlock problems
      3. Crash problems
      4. High CPU or performance problems
    2. Diagnostic Tooling Framework for Java (DTFJ)
    3. Guidelines - using Java and tuning options
      1. Guidelines for using 31-bit versus 64-bit Java
      2. Java5 tuning options
  11. Chapter 9: Java Virtual Machine Tool Interface
    1. Java Virtual Machine Tool Interface (JVMTI)
    2. Simple example to demonstrate usage of JVMTI
    3. Transition from JVMPI to JVMTI
  12. Appendix A: Additional material
    1. Locating the Web material
    2. Using the Web material
      1. How to use the Web material
  13. Related publications
    1. IBM Redbooks
    2. Other publications
    3. Online resources
    4. How to get IBM Redbooks
    5. Help from IBM
  14. Index (1/2)
  15. Index (2/2)
  16. Back cover

Product information

  • Title: Java Stand-alone Applications on z/OS Volume II
  • Author(s): Alex Louwe Kooijmans, Jonathan M Barney, Patrick Bruinsma, Venugopal Kailaikurthi, Christian Strauer, Kenichi Yoshimura
  • Release date: December 2006
  • Publisher(s): IBM Redbooks
  • ISBN: None