11442 cics and java: how the jvm server transforms java …...information in this presentation, it...
TRANSCRIPT
![Page 1: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/1.jpg)
© 2012 IBM Corporation
CICS Transaction Server V4.2
11442 CICS and Java: How the JVM Server transforms Java in CICS
Matthew Webster [email protected]
![Page 2: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/2.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation 2
Important disclaimer The information in this presentation is provided for information purposes only. While efforts were made to verify the completeness and accuracy of the information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. In addition, this information does not form part of IBM’s current product plans and strategy, which are subject to change by IBM without notice. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this presentation or any other documentation. Nothing contained in this presentation is intended to, or shall have the effect of: • Creating any warranty or representation from IBM (or its affiliates or its or
their suppliers and/or licensors); or • Altering the terms and conditions of the applicable license agreement
governing the use of IBM software. IBM values your participation and suggestions but makes no commitment to any future product announcement or specific future product content.
![Page 3: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/3.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Related CICS TS V4.2 Sessions
§ Monday – 11420: CICS TS V4.R2 Technical Overview – 11454: CICS TS V4.R2 User Experience
§ Tuesday – 11434: CICS Explorer - A System Programmer Perspective
§ Wednesday – 11439: Event Processing: Insight into Your CICS Systems and Business – 11442: CICS and Java: How the JVM Server transforms Java in CICS
§ Thursday – 11448: Core Foundations and Scalability – 11450: CICS WLM: Improved Throughput from Optimized WLM
§ Friday – 11458: Modernizing CICS -- Hands-on Lab, Part 1 of 2 – 11459: Modernizing CICS -- Hands-on Lab, Part 2 of 2
3
![Page 4: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/4.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Java
4
![Page 5: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/5.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Themes & Topics
§ Brief History
§ User Roles
§ Platform & Tools
§ Demonstration
§ Future
5
![Page 6: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/6.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
BRIEF HISTORY
6
![Page 7: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/7.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
CICS TS V4.2 JVM Server
§ New 64-bit Java runtime environment – Increases the number of JVMs that can be used in a single CICS region – Removes the constraints on heap storage for each JVM – Provides performance advantages when running on IBM zEnterprise 196 (z196)
hardware
§ JVM server for user programs – Run multiple Java transactions as threads in a single JVM server process – Simplified the setup and management of the CICS Java runtime environment – Improved portability for Java applications and tools deployed in CICS
§ OSGi bundles for development, deployment & management of Java applications – Java applications packaged as one or more industry standard OSGi bundles and
then deployed/installed as a CICS BUNDLE – Removes the need to load Java applications from a statically defined class path – Provision of application isolation and versioning, cross-package prerequisite
checking, and simplified package redeployment
7
![Page 8: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/8.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
CICS TS V4.2 Pooled JVM
§ Enterprise Java Bean Support – Enterprise Java Bean (EJB) 1.1 specification and the
associated CICS EJB Server components was stabilized in CICS TS V4.1
– Not available in JVM server – Encouraged to migrate EJB applications to be Java SE
components and make them available through web services or the JEE Connector Architecture (JCA)
§ Java pool infrastructure § Infrastructure was stabilized in CICS TS V4.1 § Encouraged to migrate Java applications to OSGi bundles § See Migrating applications using the CICS Explorer SDK in the
V4.2 Information Center
8
![Page 9: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/9.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation 9
JVMSERVER resource
What is a JVM server…?
§ a new CICS resource containing a long-running JVM.
§ the strategic direction of Java in CICS
§ a JVM that serves multiple transactions concurrently.
§ a JVM in which applications/tasks run as OSGi bundles.
JVM
Task
Task
Task
OSGi bundle/Application
OSGi bundle/Application
![Page 10: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/10.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation 10
JVM server vs existing Java support?
CICS (JVM server)
JVM
Task
Task
Task
CICS (pooled Java)
JVM Task
Task
Task
JVM
JVM
Single JVM - serves many tasks (reduced storage) Pool of JVMs - each serves only a single task.
(concurrent, multi-threaded, up to 256 threads per JVM server)
Java Program Isolation
T8 (CICS key) J8 (CICS key), J9 (User key)
MAXTHRDTCBS (automatically calculated), up to max of 1024 per region
MAXJVMTCBS, SIT parm
More standard Server model (+ data-sharing) Difficult, convoluted to share data and state.
Dynamic update and replace of modules JVMs must be restarted to effect changes
![Page 11: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/11.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation 11
Attaching work to a JVMSERVER?
![Page 12: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/12.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
CICS Explorer SDK
§ CICS Explorer SDK V1.0 – Introduced with CICS TS V4.1 – Plug-in development for CICS Explorer
§ CICS Explorer SDK V1.1 – Introduced with CICS TS V4.2 – CICS Java development
§ CICS Explorer meets Eclipse IDE – Integrated documentation, examples & wizards for simplified
development & deployment – Support for migrating applications using conversion, wrapping
or injection – Supports the development of Java applications for both a JVM
server and pooled JVM
12
![Page 13: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/13.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
USER ROLES
13
![Page 14: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/14.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation 14
§ Goals – Dave wants to write code
§ Tools and Products – Development tools (e.g. Eclipse,
Rational Application Developer) – Web browser
§ Tasks – Tasked with implementing individual
application components according to predefined contract
§ Skills / Education – Background in software development – Familiar with one or more languages/
technologies e.g. Java.
Dave the Developer
![Page 15: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/15.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation 15
§ Goals – Work with a test and production environment
which empowers the business user and is up 24/7.
§ Tools and Products – CICS Explorer – TSO/ISPF – OMEGAMON® for z/OS
§ Tasks – Manage the incoming requests for new roles
and new applications § Skills / Education
– z/OS knowledge
– Trouble shooting
– Programming (e.g., JCL, COBOL)
Steve the Systems Programmer
![Page 16: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/16.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
DEMONSTRATION
16
![Page 17: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/17.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Demonstration: CICS Explorer & CICS Explorer SDK
§ Goals – Run a Java application in CICS – Demonstrate different application development & systems management roles – End-to-end experience with CICS Explorer SDK
§ Dave the Developer – Will create, deploy & test the application – Can troubleshoot application problems
§ Steve the System Programmer – Will create the Java environment and install & manage the application – Can troubleshoot application dependency problems
§ Setup – Anaheim: Mac OS X 10.7 + Java SE 6 (Update 26) + Eclipse 3.6.2 (Cocoa 64-bit) +
CICS Explorer SDK V1.1 – Hursley: CICS TS V4.2 (CICSplex) – Java and CICS SM perspectives in separate workbench windows
17
![Page 18: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/18.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
CICS Explorer & CICS Explorer SDK Demonstration
18
![Page 19: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/19.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Steve the Systems Programmer
1. Configure and install JVM server
2. Create and install (sample) CICS resources
3. Create CICS bundle
19
![Page 20: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/20.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Edit supplied DFHOSGI profile and “File > Save As…”
20
![Page 21: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/21.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Edit supplied DFHOSGI profile and “File > Save As…”
21
![Page 22: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/22.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Edit supplied DFHOSGI profile and “File > Save As…”
22
![Page 23: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/23.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Use “Show SIT Parameters” to find JVM Profile Directory
23
![Page 24: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/24.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
INSTALL sample DFH$JVM JVM server
24
![Page 25: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/25.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
INSTALL sample DFH$JVM JVM server
25
![Page 26: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/26.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
JVM server DFH$JVMS ENABLED
26
![Page 27: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/27.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Check IYCWEGG1.DFH$JVMS.dfhjvmtrc for any problems
27
![Page 28: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/28.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
List of system and “middleware” OSGi bundles installed
28
![Page 29: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/29.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Lots of useful information about JVM server
29
![Page 30: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/30.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Dave the Application Developer
1. Consult CICS Java Developer Guide
2. Set Target Platform
3. Create (example) application
4. Deploy application as CICS bundle
30
![Page 31: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/31.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Empty workspace, empty CICS bundle
31
![Page 32: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/32.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Developing applications using the CICS Explorer SDK
32
![Page 33: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/33.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Set Target Platform
33
![Page 34: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/34.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Set Target Platform
34
![Page 35: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/35.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
JCICS version 1.300 (V4.2)
35
![Page 36: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/36.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Java 1.6
36
![Page 37: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/37.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Select the new target
37
![Page 38: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/38.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Add the examples (Hello, JCICS & Web) to the workspace
38
![Page 39: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/39.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Add OSGi bundle projects
39
![Page 40: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/40.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Add CICS bundle project
40
![Page 41: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/41.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Errors in the Problems view for missing OSGi bundles
41
![Page 42: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/42.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Deploy application as CICS bundle
42
![Page 43: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/43.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Select CICS bundle directory
43
![Page 44: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/44.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Transfer metadata files
44
![Page 45: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/45.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Build, locally export & transfer OSGi bundle JAR files
45
![Page 46: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/46.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Handoff CICS bundle to Steve
46
![Page 47: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/47.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Application
What is an OSGi Bundle?
HelloWorld
ClassA
ClassB
![Page 48: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/48.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
What is an OSGi Bundle?
ZIP
HelloWorld
ClassA
ClassB
![Page 49: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/49.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
What is an OSGi Bundle?
JAR
HelloWorld
ClassA
ClassB
MANIFEST.MF Manifest-Version: 1.0 Created-By: IBM Corporation
![Page 50: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/50.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
What is an OSGi Bundle?
Bundle
HelloWorld
ClassA
ClassB
MANIFEST.MF Manifest-Version: 1.0 Created-By: IBM Corporation Bundle-SymbolicName: com.ibm.cics.server.examples.hello Bundle-Version: 1.0.0 Bundle-RequiredExecutionEnvironment: J2SE-1.6 Import-Package: com.ibm.cics.server;version="4.2.0" Export-Package: examples.hello
![Page 51: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/51.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
What is an OSGi Bundle?
Bundle
HelloWorld
ClassA
ClassB
MANIFEST.MF Manifest-Version: 1.0 Created-By: IBM Corporation Bundle-SymbolicName: com.ibm.cics.server.examples.hello Bundle-Version: 1.0.0 Bundle-RequiredExecutionEnvironment: J2SE-1.6 Import-Package: com.ibm.cics.server;version="4.2.0" Export-Package: examples.hello
![Page 52: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/52.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Bundle
What is an OSGi Bundle?
JAR
HelloWorld
ClassA
ClassB
MANIFEST.MF Manifest-Version: 1.0 Created-By: IBM Corporation Bundle-SymbolicName: com.ibm.cics.server.examples.hello Bundle-Version: 1.0.0 Bundle-RequiredExecutionEnvironment: J2SE-1.6 Import-Package: com.ibm.cics.server;version="4.2.0" Export-Package: examples.hello
MANIFEST.MF Manifest-Version: 1.0 Created-By: IBM Corporation Bundle-SymbolicName: com.ibm.cics.server.examples.hello Bundle-Version: 1.0.0 Bundle-RequiredExecutionEnvironment: J2SE-1.6 Import-Package: com.ibm.cics.server;version="4.2.0" Export-Package: examples.hello
![Page 53: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/53.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Steve the Systems Programmer
1. Install application as CICS bundle
2. Validate OSGi bundles and services
3. Ensure TCP/IP service and URI Map available
4. Run the application
53
![Page 54: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/54.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Handoff CICS bundle from Dave
54
![Page 55: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/55.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Handoff CICS bundle from Dave
55
![Page 56: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/56.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Install application as CICS bundle
56
![Page 57: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/57.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation 57
![Page 58: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/58.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Check CICS bundle and bundle parts
58
![Page 59: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/59.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
OSGi bundle for Web example
59
![Page 60: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/60.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
OSGi service for Web example
60
![Page 61: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/61.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
CICS PROGRAM for Web example
61
![Page 62: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/62.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Check IYCWEGG1.DFH$JVMS.dfhjvmtrc for any problems
62
![Page 63: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/63.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Open the Internal Web Browser to test DFJ$JWB1
63
![Page 64: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/64.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Enter Web example URL
64
![Page 65: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/65.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Success!
65
![Page 66: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/66.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
FUTURE
66
![Page 67: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/67.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
“CICS TS V5.1 open beta”
§ CICS Application Packaging – New CICS bundle resources: LIBRARY, PROGRAM,
TRANSACTION, URIMAP – Dependency management
§ CICS Application Lifecycle – Simple Deploy-INSTALL-ENABLE-DISABLE-DISCARD
life-cycle for multi-bundle, multi-language applications
§ WAS Liberty profile technology – Java Servlets – JavaServer Pages (JSP) – Co-location of presentation and business applications
67
![Page 68: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/68.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
QUESTIONS
![Page 69: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/69.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Summary
- Platform - Highly scalable runtime - Application lifecycle and versioning
- Tools - System programmer manages Java workloads using strategic
interfaces consistent with other modern CICS workloads - Application developer leverages existing skills, tools and
processes - Natural handoff between roles
- Future - “Auto-install” for CICS Java programs - Fully packaged Java and Java/traditional language applications - Liberty
69
![Page 70: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/70.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
Related CICS Java Sessions
Monday 11420: CICS TS V4.R2 Technical Overview 11423: CICS TS V4.R2 Planning Your CICS Upgrade
Tuesday 11434: CICS Explorer - A System Programmer Perspective
Wednesday 11441: Managing CICS Resources in a Unix File System: Best Practices 11442: CICS and Java: How the JVM Server transforms Java in CICS
Thursday 11449: CICS Question Box and Pot Luck
Friday 11458: Modernizing CICS -- Hands-on Lab, Part 1 of 2 11459: Modernizing CICS -- Hands-on Lab, Part 2 of 2
70
![Page 71: 11442 CICS and Java: How the JVM Server transforms Java …...information in this presentation, it is provided “as is”, without warranty of any kind, express or implied. ... CICS](https://reader033.vdocuments.us/reader033/viewer/2022042320/5f0a0b6b7e708231d429bf03/html5/thumbnails/71.jpg)
CICS Transaction Server V4.2
© 2012 IBM Corporation
More Information
§ IBM CICS Explorer – http://www.ibm.com/software/htp/cics/explorer/
§ SHARE (Past Conferences) – 8514: CICS Explorer Update
http://share.confex.com/share/116/webprogram/Session8514.html – 8265: CICS JVM Server
http://share.confex.com/share/116/webprogram/Session8265.html – 8272: Best Practices for CICS Systems Management
http://share.confex.com/share/116/webprogram/Session8272.html
§ Podcasts – http://www.ibm.com/software/cics/tserver/v42/library/index4.html
§ Blog – http://masterterminal.wordpress.com/
§ developerWorks Community – https://www.ibm.com/developerworks/mydeveloperworks/blogs/cicsdev/
§ “CICS TS V5.1 open beta” – http://www.ibm.com/software/cics/openbeta/
71