ARCHIVED: Pooled JVM in CICS Transaction Server V3
Total Page:16
File Type:pdf, Size:1020Kb
Front cover ARCHIVED: Pooled JVM in CICS Transaction Server V3 Archived IBM Redbooks publication covering ‘Pooled JVM’ in CICS TS V3 'Pooled JVM’ was superseded by CICS ‘JVM server’ in CICS TS V4 ‘Pooled JVM’ infrastructure was removed in CICS TS V5 Chris Rayns George Burgess Scott Clee Tom Grieve John Taylor Yun Peng Ge Guo Qiang Li Qian Zhang Derek Wen ibm.com/redbooks International Technical Support Organization ARCHIVED: Pooled JVM in CICS Transaction Server V3 June 2015 SG24-5275-04 Note: Before using this information and the product it supports, read the information in “Notices” on page ix. Fifth Edition (June 2015) This edition applies to Version 3, Release 2, CICS Transaction Server . © Copyright International Business Machines Corporation 2015. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . ix Trademarks . .x Preface . xi The team that wrote this book . xi Become a published author . xiv Comments welcome. xiv Summary of changes. .xv June 2015, Fifth Edition . .xv Part 1. Overview . 1 Chapter 1. Introduction. 3 1.1 z/OS . 5 1.2 CICS Transaction Server Version 3 . 7 1.3 Java overview . 8 1.3.1 Java language. 8 1.3.2 Java Virtual Machine. 10 1.3.3 Java on z/OS . 10 1.3.4 Runtime Environment and tools . 11 1.4 CICS Transaction Server for z/OS 3.2 enhancements for Java . 13 1.4.1 Usability enhancements . 13 1.4.2 Java Virtual Machines management enhancements . 14 1.4.3 Continuous Java Virtual Machines versus resettable Java Virtual Machines . 15 1.4.4 CICS Java applications using JCICS . 15 1.4.5 CICS support for the Java Virtual Machine. 15 Chapter 2. Java Virtual Machine support in CICS . 17 2.1 Overview . 18 2.2 History of JVM support in CICS . 18 2.2.1 CICS Transaction Server 1.3 . 18 2.2.2 CICS Transaction Server 2.1 and 2.2 . 19 2.2.3 CICS Transaction Server Version 2.3. 19 2.2.4 CICS Transaction Server 3.1 . 19 2.2.5 CICS Transaction Server 3.2 . 19 2.3 JVM operation modes . 20 2.3.1 Single use JVM . 20 2.3.2 Continuous JVM . 21 2.3.3 Resettable JVM. 23 2.3.4 Summary of JVM modes. 23 2.4 Analyzing programs for use in a continuous JVM . 23 2.4.1 Configuring the application isolation utility on UNIX System Services . 24 2.4.2 Generating reports on static updates . 25 2.5 The shared class cache . 27 2.5.1 Benefits of the shared class cache . 28 2.5.2 Java 5 shared class cache . 28 2.5.3 Java 1.4.2 shared class cache . 28 2.5.4 Starting the shared class cache . 29 © Copyright IBM Corp. 2015. All rights reserved. iii 2.5.5 Inquiring the status of the shared class cache . 29 2.5.6 Changing the size of the shared class cache . 32 2.5.7 Updating classes in the shared class cache . 32 2.5.8 The -Xshareclasses utilities . 33 Part 2. Systems Programming. 35 Chapter 3. Setting up CICS to run Java applications . 37 3.1 Running a simple Java application in CICS . 38 3.1.1 Accessing the z/OS UNIX shell. 38 3.1.2 Setting up the CICS sample Java application. 40 3.2 System configuration. 44 3.2.1 UNIX System Services . 44 3.2.2 Language Environment. 45 3.2.3 CICS Transaction Server . 46 3.3 Managing your CICS Java environment . 53 3.3.1 CEMT INQUIRE CLASSCACHE. 53 3.3.2 CEMT INQUIRE DISPATCHER . 54 3.3.3 CEMT INQUIRE JVM . 54 3.3.4 CEMT INQUIRE JVMPOOL . 55 3.3.5 CEMT INQUIRE PROGRAM . 55 3.3.6 CEMT PERFORM CLASSCACHE . 56 3.3.7 CEMT PERFORM JVMPOOL. 57 3.3.8 CEMT SET DISPATCHER . 58 3.3.9 CEMT SET JVMPOOL . 58 Part 3. Java programming for CICS. 61 Chapter 4. Getting started . 63 4.1 Coding your application in Rational Developer for System z . 64 4.2 Deploying and running the program . 69 4.2.1 Deploying the code to CICS . 69 4.2.2 Setting up the transaction and program definitions. ..