WAS for z/OS V5: Connectivity to CICS for z/OS

Slides:



Advertisements
Similar presentations
J0 1 Marco Ronchetti - Basi di Dati Web e Distribuite – Laurea Specialistica in Informatica – Università di Trento.
Advertisements

11 Copyright © 2005, Oracle. All rights reserved. Creating the Business Tier: Enterprise JavaBeans.
JNDI Java Naming Directory Interface JNDI is an API specified in Java that provides naming and directory functionality to applications written in Java.
Enterprise Applications & Java/J2EE Technologies Dr. Douglas C. Schmidt Professor of EECS.
1. Introducing Java Computing  What is Java Computing?  Why Java Computing?  Enterprise Java Computing  Java and Internet Web Server.
1 Build a Web Application on J2EE. 2 J2EE Scenario Client – Web Server – EIS Resources Client – Web Server – EIS Resources Client – Application Server.
July 23 th, 2005 Software Architecture in Practice RiSE’s Seminars Bass’s et al. Book :: Chapter 16 Fred Durão.
J2EE Java 2 Enterprise Edition. Relevant Topics in The Java Tutorial Topic Web Page JDBC orial/jdbc
Nikolaos Korfiatis The Java 2 Enterprise Edition Platform Dept. of Management & Technology-Athens University of Economics and Business Java 2 Platform.
© 2004 IBM Corporation BEA WebLogic Server Introduction and Training.
Understanding and Managing WebSphere V5
EJB Overview Celsina Bignoli Distributed Business Applications Server DB Client DB Server DB.
Distributed Multitiered Applications The J2EE platform uses a multitiered distributed application model. Application logic is divided into components 1.
J2EE /.NET Liz Farricker Whitney Mayoras Patrick Bailey.
IMS Technical Conference IMS Java Remote Database Services Kyle Charlet.
Chapter 4: Core Web Technologies
Enterprise Java Beans CS-422. Application Servers In the late 1980s and though the mid 1990s a number of corporations (Broadvision, Netscape…) marketed.
HTTP client wide area network (Internet) HTTP proxy HTTP server HTTP gateway firewall HTTP tunnel Copyright Springer Verlag Berlin Heidelberg 2004.
Ing. Ignacio Roqueta ARTech GeneXus and J2EE.
Networked Application Architecture Design. Application Building Blocks Application Software Data Infrastructure Software Local Area Network Server Desktop.
Enterprise Java v012405J2EE Introduction1 Enterprise Computing and J2EE Introduction.
CS 493/693: Distributed Systems Programming V. “Juggy” Jagannathan CSEE, West Virginia University March 21, 2005.
Enterprise Java Beans Part I Kyungmin Cho 2001/04/10.
Connecting to the Enterprise Using VisiConnect David Lucas President Lucas Software Engineering, Inc
Enterprise JavaBeans. What is EJB? l An EJB is a specialized, non-visual JavaBean that runs on a server. l EJB technology supports application development.
Introduction to J2EE Architecture Portions by Kunal Mehta.
第十四章 J2EE 入门 Introduction What is J2EE ?
Enterprise Java v120131Intro to JavaEE1 Java EE 5 TM Introduction.
® IBM Software Group © 2007 IBM Corporation J2EE Web Component Introduction
Enterprise Java Beans Java for the Enterprise Server-based platform for Enterprise Applications Designed for “medium-to-large scale business, enterprise-wide.
Source: Peter Eeles, Kelli Houston, and Wojtek Kozaczynsky, Building J2EE Applicationa with the Rational Unified Process, Addison Wesley, 2003 Prepared.
Databases JDBC (Java Database Connectivity) –Thin clients – servlet,JavaServer Pages (JSP) –Thick clients – RMI to remote databases –most recommended way.
1 Java EE Programming Enterprise JavaBeans. 2 Topics J2EE Overview Enterprise JavaBeans Overview Enterprise Entity Beans Case Study How to build them.
Introduction to Enterprise JavaBeans Topics In Systems Architecture Barry Herbold
Assignment of JAVA id : BSSE-F10-M-10-JAVA1 Overview of J2EE/Session 2/Slide 1 of 38.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
Introduction to EJB. What is an EJB ?  An enterprise java bean is a server-side component that encapsulates the business logic of an application. By.
1 Distributed System using J2EE. 2 What is J2EE?  J2EE (Java2 Enterprise Edition) offers a suite of software specification to design, develop, assemble.
WebSphere Software © 2006 IBM Corporation TXSeries V6 The Next Generation of Distributed CICS TXSeries for Multiplatforms, Version 6.1.
©NIIT Introducing Enterprise JavaBeans (EJB) Lesson 1A / Slide 1 of 43J2EE Server Components Objectives In this lesson, you will learn about: The features.
The Holmes Platform and Applications
J2EE Platform Overview (Application Architecture)
WebSphere Diego Leone.
Netscape Application Server
Las Vegas, NV September 15 – September 18, 2003
Outline SOAP and Web Services in relation to Distributed Objects
Introduction to CICS Transaction Server
Outline SOAP and Web Services in relation to Distributed Objects
Introduction to JSP Liu Haibin 12/09/2018.
Introduction to J2EE Architecture
Java EE Overview The problem Java Enterprise Edition attempts to solve: maximize the use of Java technologies by providing a suite of Java technology specifications.
Web-Services-based Systems Architecture, Design and Implementation
Component-Based Software Engineering: Technologies, Development Frameworks, and Quality Assurance Schemes X. Cai, M. R. Lyu, K.F. Wong, R. Ko.
Introduction to Enterprise JavaBean
Java EE Overview The problem Java Enterprise Edition attempts to solve: maximize the use of Java technologies by providing a suite of Java technology specifications.
Distributed System Using Java 2 Enterprise Edition (J2EE)
Understanding and Designing with EJB
Services-based Systems Architecture, Design and Implementation
Inventory of Distributed Computing Concepts
ESIS Consulting LLC (C) ESIS Consulting LLC. All rights reserved
Service Oriented Architecture (SOA)
Web Application Server 2001/3/27 Kang, Seungwoo. Web Application Server A class of middleware Speeding application development Strategic platform for.
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Component-based Applications
Component Technology Bina Ramamurthy 2/25/2019 B.Ramamurthy.
Quality Assurance for Component-Based Software Development
Enterprise Java Beans.
Knowledge Byte In this section, you will learn about:
Distributed System using Web Services
Intro to J2EE Concepts.
Presentation transcript:

WAS for z/OS V5: Connectivity to CICS for z/OS

Unit Objectives After completing this unit, you should be able to know: What WebSphere Application Server is Why J2EE is important What the Java Connector Architecture is How the CICS TG works as a J2EE Connector Some sample topologies

What Is WebSphere Today? Web and e-business software platform WebSphere supports Java 2 Enterprise Environment (J2EE) and other Open Standards WebSphere Application Server The heart of the WebSphere environment IBM's flagship J2EE Server WebSphere Studio Application Developer Develop J2EE-compliant applications Strategic way to develop your new e-business applications WebSphere is IBM's Internet infrastructure software - more commonly known as known as middleware. It is not one single product, it is a provides a software environment made up of heterogeneous but ultimately compatible and complimentary products. The end result is a multi-platform software environment which allows companies to develop, deploy and integrate next-generation e-business applications. What makes the WebSphere platform so powerful is its wholehearted adoption of the leading open standards technologies. WebSphere is a Java based solution, spanning a wide range of platforms -- more than 35 at last count.. In particular, WebSphere is the industry-leading, Java™ 2 Enterprise Edition (J2EE)-compliant platform for developing, deploying and maintaining Web-based applications (see next visual). The combination of Java technology and the adoption of Open Standards provides WebSphere customers with leading-edge tools, providing faster development times and more reliable, interoperable e-business applications -- that scale from simple Web publishing to the enterprise-scale transaction processing that we are particularly interested in during this workshop. WebSphere transforms the way businesses manage customer, partner, and employee relationships.

What Is Java 2 Enterprise Edition (J2EE)? Single industry-standard owned by Sun Microsystems, Inc Architects the interactions between: Transaction Monitors Database Managers HTTP Servers Java clients J2EE 1.3 Fully certified and part of Sun's JCEE list EJB 2.0 EJB 2.0 and EJB 1.1 support JDK JDK 1.3 Servlet 2.3 Servlet 2.3 JSP 1.2 JSP 1.2 JTS/JTA 1.0 w/distributed transactions JMS 1.0.2 With Native Provider, and MQ plug-in JDBC 2PC across heterogeneous databases JNDI JNDI 1.2 for EJB lookup and CosNaming RMI/IIOP Fully supported JavaMail/JAF Plus Domino support SSL Security JSSE and JCE XML JAXP XML in EJBs J-IDL/CORBA IIOP 1.2 J2C Bean and container managed LDAP SecureWay, iPlanet, ActiveDirectory HTTP 1.1 Yes , plus across multiple Web servers SOAP SOAP-SEC 2.2.2 Soap support for WebServices. Tech preview COM/ASP Support w/Java wrapping & proxy JMX JMX pending XML4J 4.0 XML support XSL XSL parser Standards Level WebSphere 5.0 The Java 2 Enterpise Edition (J2EE) specification is an open standard specification for Java applications. Applications written to this specification can take advantage of the Java 2 component model for software re-use without sacrificing the traditional enterprise computing requirements, which CICS has been meeting for many years, namely: Reliability Scaleablility Integrity Robustness The difference is that if you write to the J2EE specification, your enterprise application can potentially run not only on CICS on z/OS , but on any J2EE compliant server on any platform (more about this later). So one way to look at the J2EE specification is as bringing the traditional strengths of CICS and z/OS to the world of Java, in a non-proprietary way.

Key Elements of Java 2 Enterprise Edition Components The key focus of application developers: EJBs, Servlets, JSPs, and Clients. Component behavior specified at deployment time, not in program code. Containers Provide services to components transparently, including transaction support and resource pooling. Containers and connectors conceal complexity and promote portability. Connectors Portable APIs which connect to existing enterprise vendor offerings (such as CICS, IMS)

WebSphere as a J2EE Server WebSphere Application Server Web Container http,https JSP Servlet The J2EE platform requires a database, accessible through the JDBC API, for the storage of business data. The database is accessible from web components, enterprise beans, and application client components. The database need not be accessible from applets. iiop,giop Application Client Container EJB Container EJB Client Application iiop

Enterprise JavaBeans Overview EJB Server EJB CONTAINER Home Interface Transaction attributes The process of installing an enterprise bean into a container is called deployment. Deployment tools use information provided by the enterprise bean to generate extra code which is installed into the container at the same time as the enterprise bean, and which: Defines the interfaces available to the client (some of the classes generated by deployment run on the client). Interfaces between the enterprise bean and the container Establishes the context in which the enterprise bean is to run - transactional characteristics, security etc Input to the deployment tool is the ejb-jar file created by the bean provider, which contains the classes for the enterprise bean, and an XML deployment descriptor. The deployment process generates additional code that is necessary for the execution of the enterprise bean. The code generated is used both on the client machine and on the EJB server. The definition of the home interface is used to generate an EJB home stub for the client and an EJB home class for the EJB server. The definition of the remote interface is used to generate an EJB object stub for the client and an EJB object class for the EJB server. The class files for the enterprise bean are packaged into a deployed Java Archive File (JAR) and this file is used for deploying into the EJB server. Properties Events Business Logic Methods Isolation Environment properties Remote Interface Persistence Security attributes

J2EE Connector Architecture (JCA) IMS J2EE Server Web Container http,https JSP EIS1 J2EE™ Connector ArchitectureThe Connector architecture is a J2EE SPI that allows resource adapters that support access to Enterprise Information Systems to be plugged in to any J2EE product. The Connector architecture defines a standard set of system-level contracts between a J2EE server and a resource adapter. The standard contracts include:  A connection management contract that lets a J2EE server pool connections to an underlying EIS, and lets application components connect to an EIS. This leads to a scalable application environment that can support a large number of clients requiring access to EIS systems.  A transaction management contract between the transaction manager and an EIS that supports transactional access to EIS resource managers. This contract lets a J2EE server use a transaction manager to manage transactions across multiple resource managers. This contract also supports transactions that are managed internal to an EIS resource manager without the necessity of involv-ing an external transaction manager.  A security contract that enables secure access to an EIS. This contract provides support for a secure application environment, which reduces security threats to the EIS and protects valuable information resources managed by the EIS. Servlet cci cci iiop,giop cci Application Client Container EJB Container EIS2 cci EJB Client Application

J2EE Connector Architecture Container-Component Contract Application Component J2EE Application Server Common Client Interface (CCI) Connection Pooling Version 1.0 of the J2EE Connector Architecture defines a number of components that make up this architecture: Common Client Interface (CCI) The CCI defines a common API for interacting with resource adapters. It is independent of a specific EIS. A Java developer communicates to the resource adapter using this API. See next chart. System contracts The Connector architecture defines a standard set of system-level contracts between a J2EE server and a resource adapter. The standard contracts include: A connection management contract that lets a J2EE server pool connections to an underlying EIS, and lets application components connect to an EIS. This leads to a scalable application environment that can support a large number of clients requiring access to EIS systems. A transaction management contract between the transaction manager and an EIS that supports transactional access to EIS resource managers. This contract lets a J2EE server use a transaction manager to manage transactions across multiple resource managers. This contract also supports transactions that are managed internal to an EIS resource manager without the necessity of involv-ing an external transaction manager. A security contract that enables secure access to an EIS. This contract provides support for a secure application environment, which reduces security threats to the EIS and protects valuable information resources managed by the EIS. These system contracts are transparent to the application developer, meaning they do not have to implement these services themselves. Resource adapter deployment and packaging A resource adapter provider develops a set of Java interfaces/classes as part of its implementation of a resource adapter. The Java interfaces/classes are packaged together with a deployment descriptor to create a Resource Adapter Archive (represented by a file with an extension of rar ). This Resource Adapter Module is used to deploy the resource adapter into the application server. System Contracts Resource Adapter Transaction Manager Connection Management Transaction Security EIS Specific Interface Security Manager Enterprise Information System

CICS TG - J2EE Connector to CICS IMS WebSphere Application Server Web Container http,https JSP CICS Servlet cci EXCI CTG iiop,giop cci Application Client Container EJB Container EJB Client Application

CICS TG Resource Adapters ECI resource adapter cicseci.rar Calls CICS COMMAREA-based programs. EPI resource adapter cicsepi.rar To invoke CICS 3270-based transactions. The CICS Transaction Gateway provides implementations of the CCI interfaces for these two resource adapters in the com.ibm.connector2.cics package. By convention,the .rar suffix is used to denote packaged java code containing a resource adapter implementation. The .rar files used on the distributed platofrms are cicseci.rar and cicsepi.rar. A RAR file is much like an EAR file. It is an archive made up of JAR files and a deployment descriptor. The z/OS ECI resource adapter cicseciRRS.rar is different from the distributed platformimplementation - it uses the MVS RRS facility to manage its tranaction environment. Because there is no EPI implementation on z/OS, there is no EPI resource adapter for z/OS.

Managed and Unmanaged Environments Web Container Web Container Port 80 Java Servlet http, https tcp,or SNA, TN62 EJB Container CTGJNI.dll CCI Bean CICS TS DFH MIRS J2EE Server Managed Environment Unmanaged Environment LINK Linux CCI Java Application Transid=CPMI Bean tcp,or SNA, TN62 CTGJNI.dll z/OS

CICS TG - WAS Topologies WebSphere Application Server and CICS TG on a distributed platform Topology 1 Topology 2 zSeries WebSphere Application Server on a distributed platform CICS TG z/OS CICS TS WebSphere Application Server and CICS TG on zSeries Network Topology 3 HTML

WAS and CICS TG deployed on distributed platforms Topology 1 WAS and CICS TG deployed on distributed platforms Distributed platform z/OS WebSphere Application Server V5 CICS TS HTTP JSP Servlet C O M A R E COBOL application CTG V5 EJB Client daemon SNA or TCP62 or TCP/IP CICS ECI resource adapter CCI

Topology 1 - Qualities of Service WAS and CICS TG deployed on distributed platforms The specific qualities of service (in terms of the JCA system contracts) that apply to this topology are as follows. Connection Management Connection pooling of local in memory Connection objects Transaction Management Resource manager local transactions or global transactions with Last Participant Support (LPS) Security Management Component managed or container managed

WAS deployed on distributed platforms, Remote Gateway daemon on z/OS Topology 2 WAS deployed on distributed platforms, Remote Gateway daemon on z/OS Distributed platform z/OS WebSphere Application Server V5 CICS TG Daemon HTTP JSP JNI Servlet EXCI CTG V5 EJB TC/IP, HTTP, HTTPS,SSL CICS TS CICS ECI resource adapter CCI C O M A R E COBOL application

Topology 2 - Qualities of Service WAS deployed on distributed platforms, Remote Gateway daemon on z/OS The specific qualities of service (in terms of the JCA system contracts) that apply to this topology are as follows. Connection Management Connection pooling of TCP/IP network connections from the WebSphere Application Server to the Gateway daemon Transaction Management Resource manager local transactions or global transactions with Last Participant Support (LPS) Security Management Component managed or container managed (including asserted identity)

WebSphere Application Server and the CICS Transaction Gateway on z/OS Topology 3a WebSphere Application Server and the CICS Transaction Gateway on z/OS z/OS WebSphere Application Server V5 CICS TS HTTP JSP Servlet C O M A R E CTG V5 COBOL application EJB EXCI CICS ECI resource adapter JNI CCI

Topology 3a - Qualities of Service WebSphere Application Server and the CICS Transaction Gateway on z/OS The specific qualities of service (in terms of the JCA system contracts) that apply to this topology are as follows. Connection Management Connection pooling of local in memory Connection objects Transaction Management Global transactions with full two-phase commit, using MVS RRS Security Management Component managed or container managed (including thread identity support)

Topology 3b WebSphere Application Server and CICS Transaction Gateway on Linux on zSeries z/OS Linux on zSeries WebSphere Application Server V5 CICS TS HTTP JSP Servlet C O M A R E COBOL application CTG V5 TCP62 or TCP/IP Hipersockets EJB CICS ECI resource adapter Client daemon CCI

Topology 3b - Qualities of Service WebSphere Application Server and CICS Transaction Gateway on Linux on zSeries The specific qualities of service (in terms of the JCA system contracts) that apply to this topology are as follows. Connection Management Connection pooling of local in memory Connection objects Transaction Management Resource manager local transactions or global transactions with Last Participant Support (LPS) Security Management Component managed or container managed When using WebSphere Application Server with Linux on zSeries, the zSeries HiperSockets feature can be used to provide efficient cross-memory TCP/IP connection into CICS regions running on z/OS

Unit Summary Key points from this unit: CICS TG and WebSphere Application Server go very well together Flexibility when deciding how to deploy CICS TG Code and test on the workstation and run on z/OS unchanged