This IBM® Redbooks® publication provides information about the new Java virtual machine (JVM) server technology in IBM CICS® Transaction Server for z/OS® V4.2. We begin by outlining the many advantages of its multi-threaded operation over the pooled JVM function of earlier releases. The Open Services Gateway initiative (OSGi) is described and we highlight the benefits OSGi brings to both development and deployment.
Details are then provided about how to configure and use the new JVM server environment. Examples are included of the deployment process, which takes a Java application from the workstation Eclipse integrated development environment (IDE) with the IBM CICS Explorer® software development kit (SDK) plug-in, through the various stages up to execution in a stand-alone CICS region and an IBM CICSPlex® environment.
The book continues with a comparison between traditional CICS programming, and CICS programming from Java. As a result, the main functional areas of the Java class library for CICS (JCICS) application programming interface (API) are extensively reviewed.
Further chapters are provided to demonstrate interaction with structured data such as copybooks, and how to access relational databases by using Java Database Connectivity (JDBC) and Structured Query Language for Java (SQLJ).
Finally, we devote a chapter to the migration of applications from the pooled JVM model to the new JVM server run time.
Part 1. Introduction and Java virtual machine server enablement
Chapter 1. Introduction
Chapter 2. Open Services Gateway initiative overview
Chapter 3. Setting up a Java virtual machine server
Chapter 4. Deploying from CICS Explorer SDK
Chapter 5. Diagnostics
Part 2. Application development
Chapter 6. Developing a simple Java application
Chapter 7. The Java CICS application programming interface
Chapter 8. Interacting with structured data
Chapter 9. Accessing DB2 by using JDBC and SQLJ
Chapter 10. Migration
Appendix A. Installing the CICS Explorer software development kit
Appendix B. Java EE Connector Architecture tools