IBM CICS and Liberty: What You Need to Know
Total Page:16
File Type:pdf, Size:1020Kb
Front cover IBM CICS and Liberty: What You Need to Know Hernan Cunico Andreas Hümmer Jonathan Lawrence Shayla Robinson Andre Schreiber Inderpal Singh Prabhat Srivastava Phil Wakelin Dan Zachary Redbooks International Technical Support Organization IBM CICS and Liberty: What You Need to Know January 2016 SG24-8335-00 Note: Before using this information and the product it supports, read the information in “Notices” on page ix. First Edition (January 2016) This edition applies to V5R3M0 of CICS Transaction Server (product number 5655-Y04). © Copyright International Business Machines Corporation 2016. 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 IBM Redbooks promotions . xi Preface . xiii Authors. xiii Now you can become a published author, too! . .xv Comments welcome. .xv Stay connected to IBM Redbooks . .xv Chapter 1. Introduction. 1 1.1 What to expect from this book. 2 1.1.1 Intended audiences. 2 1.1.2 Scenarios . 2 1.2 What is Liberty? . 2 1.2.1 Java EE 6 . 3 1.2.2 Java EE 7 . 4 1.2.3 Additional resources . 4 1.3 Benefits of running web applications in CICS . 5 1.3.1 Skills . 5 1.3.2 Integration . 5 1.3.3 Performance . 6 1.3.4 Cost reduction. 6 1.3.5 Porting a web application . 6 1.3.6 Creating an integration logic interface. 8 1.3.7 Creating a Java business logic application . 8 1.4 What’s new in Liberty for CICS TS V5.3 . 9 1.4.1 Supported Liberty features . 9 1.4.2 CICS features . 13 1.4.3 Unsupported APIs. 13 Part 1. Technology essentials . 15 Chapter 2. Application development. 17 2.1 Application development . 18 2.1.1 Web invocation options. 18 2.2 Accessing CICS data . 19 2.2.1 CICS Java class library (JCICS) API . 19 2.3 Database access options . 20 2.3.1 JDBC access options . 20 2.3.2 Java Transaction API . 25 2.3.3 Access to non-SQL databases . 26 2.4 Optimizing static content . 27 2.4.1 Static content separation . 28 2.4.2 Dynamic caching. 29 2.5 Application deployment options . 32 2.5.1 Liberty deployment methods. 33 2.5.2 CICS deployment methods . 35 © Copyright IBM Corp. 2016. All rights reserved. iii 2.5.3 Deploying shared (middleware) bundle. 36 2.6 Application redeployment options . 39 2.6.1 Redeploy by using Liberty deployment methods . 39 2.6.2 Redeploy using CICS bundle deployment . 39 2.7 Migrating a Java EE application to Liberty . 42 2.7.1 Application validation . 42 2.7.2 Server environment migration. 43 2.7.3 External dependency migration . 44 Chapter 3. Workload management . 45 3.1 IP load balancing. 46 3.1.1 Port sharing. 46 3.1.2 Sysplex Distributor . 47 3.2 Web server plug-in . 48 3.2.1 Load balancing . 51 3.2.2 Failover . 51 3.2.3 HTTP session management . 52 3.3 CICSPlex SM workload management. 53 3.3.1 Workload balancing . 54 3.3.2 Workload separation . 55 Chapter 4. Security options . 57 4.1 Java Platform, Enterprise Edition security . 58 4.1.1 Deployment descriptor . 58 4.1.2 Key steps in security processing. 59 4.2 Confidentiality . ..