3d07943e9c9d6939fbfdea417cac85aa.ppt
- Количество слайдов: 47
© 2009 IBM Corporation CICS Connectivity Ronnie Simon IBM BELUX - Web. Sphere ronnie_simon@be. ibm. com
IBM Built to Support Evolution! Enterprise Network Central Site Appl. Server Web Server Browser Business Systems Databases Time e-business Rich Client e-business with Core Business Systems Web Server Appl. Server Browser Server Client-Server Personal Computer GUI Front-End Personal Computer Terminal Processing 2 "Dumb" Terminal Core Business Services Core Business Systems Application Investment Protection Internet Business Systems Front End © Copyright IBM Corporation 2009
IBM Software Group | Web. Sphere software The Business Benefit of Application Reuse ? “Industry has already invested trillions in IT. If faster results can be achieved reusing rather than rewriting, only a fool would chose to rewrite” 24% Faster ROI using SOA! 24% Faster! -- John Balderson, The Spencer Group Non-SOA Components http: //www. logiclibrary. com/pdf/wp/ROI_of_SOA. pdf What is the cost to your IT budget if you are not already reusing your applications? 3
IBM CICS Red Books – Most Popular 1. 2. 3. 4. 5. 6. Java Application Development for CICS (14, 000+) Application Development for CICS Web Services (14, 000+) Architecting Access to CICS within an SOA (13, 000+) CICS Transaction Gateway for z/OS Version 6. 1 (11, 000+) CICS Performance Analyzer (7, 000+) CICS Transaction Server V 3 R 1 Channels and Containers Revealed (7, 000+) Securing CICS Web Services Updated 4 © Copyright IBM Corporation 2009
IBM Connecting to CICS … 1. CICS Integration strategy ( P A I B D ) 2. Web Services and WSRR integration 3. Web 2. 0 integration strategy 4. Business events for Realtime Information and Insight 5 © Copyright IBM Corporation 2009
IBM CICS application architecture – a framework for reuse CICS Transaction Server Transaction Client 3270 Presentation P Integration logic Business logic Data access I B D Best practice in CICS application design is to separate key elements of the application, in particular: - Presentation logic eg. 3270, HTML, XML - Integration or aggregation logic Menu, router, tooling - Business logic Reusable component - Data access logic VSAM, DB 2, IMS, … Provides a framework for reuse and facilitates separation of concerns, clear interfaces, ownership, and optimisation 6 © Copyright IBM Corporation 2009
IBM Software Group | Web. Sphere software Reusing 3270 presentation logic – Link 3270 bridge CICS TS Transaction 3270 terminal Client P I/B D Link 3270 Bridge Some programs combine presentation, integration, and business logic Link 3270 Bridge provides a COMMAREA interface to BMS and terminaloriented programs – ADS information in the COMMAREA is passed to the BMS application – Does not use VTAM or screen scraping – No changes required to existing BMS application z. WAS - CICS 7 © 2009 IBM Corporation
IBM Software Group | Web. Sphere software CICS connectivity for SOA Connectivity to CICS programs P 3270 terminal P Client A I B D Integration logic B Transaction Presentation logic I CICS TS Business logic D Data access logic A Adapter A can be Typical clients… – Web service requester – External or Internal – Java servlet or EJB running in a J 2 EE app server – Written or generated by tools – C# application running in a Microsoft. NET VM – Web browser – Messaging middleware z. WAS - CICS 8 © 2009 IBM Corporation
IBM Software Group | Web. Sphere software IBM Rational Developer for System z version 7. 5 XML Services for the Enterprise - SOA support for COBOL or PL/I using CICS or IMS IBM Rational Developer for System z • Bottom-up/Top-down or meet-in-the-middle COBOL/PLI to XML mapping support • meet-in-the-middle development scenario tooling wizards. for CICS, IMS, and batch applications z/OS Application Development XML Services for the Enterprise DB 2 Stored Procedure for COBOL and PL/I • Create DB 2 stored procedures on z/OS in either COBOL or PL/I • Build and catalog support for the DB 2 stored procedure • Debug z/OS based stored procedures from workstation z/OS Tooling Integration • Read/Write/Update VSAM datasets via integration with IBM File Manager • Access IBM Fault analyzer reports for analyzing ABENDS and associating back to source code CICS Service Flow support Secondary functions z. WAS - CICS • Supports CICS Service Flow Feature • Wizards to build service flows out of your existing COMMAREA WSDL and Terminal based CICS applications. CICS BMS/ IMS MFS Map Support DB 2 Stored Proc for COBOL - PL/I DB 2 App Generator wizard • Visually create and modify BMS Map sets or IMS/MFS • Generates JCL • Work with local or remote maps DB 2 App Generator wizard z/OS Tooling Integration VSAM App Generator wizard Core functions CICS Service Flow support CICS BMS/IMS MFS Map Support VSAM App Generator wizard Generate JCL , BATCH or CICS COBOL program skeletons to access VSAM/QSAM z/OS Application Development • Work with z/OS resources like COBOL, PL/I , C, C++, JCL, etc. • Interact with the Job Entry Subsystem (JES) to submit jobs, monitor jobs, and review job output • Perform dataset management actions • Perform typical edit, compile, and debug tasks on remote z/OS resources from the workstation UML to COBOL Transformation(*) Rational Application Developer or Rational Business Developer 9 • Generate WSDL, JCL and CICS COBOL program to access DB 2 • Generate CRUD programs code from existing DB 2 table, which can also be integrated into web service applications UML to COBOL Transformation(*) • Provide UML assets in order to represent COBOL in UML (Models, Profiles, Patterns) • UML transformations generate models more specific to COBOL target • Final transformation generates COBOL source (*) Requires Rational Software Architect (RSA) © 2009 IBM Corporation
IBM Web Services Enablement Styles Bottom-up New service: WSDL Generate Existing Business App (e. g. COBOL, C, C++, PLI) 10 Top-down Meet in the middle Existing service description WSDL Generate New Business App (COBOL, C, C++, PLI) Existing service description WSDL Map and Generate Existing Business App (COBOL, C, C++, PLI) © Copyright IBM Corporation 2009
IBM CICS support for WSRR A Web service registry is the 3 rd aspect of Web services • Requester, provider, registry • WSRR provides central repository for Web services and. . . Query/search, user defined meta-data, lifecycle, version #, relationships, dynamic service selection and binding, governance, enforce policies, federation with other repositories (e. g. UDDI) Institute best practices, encourages discovery and reuse of Web services CICS and WSRR • • Retrieve WSDL representing Web services to be used by CICS requesters • Complements CICS Web services assistants, WSDL editors, etc. • 11 Publish WSDL representing CICS Web service providers Currently available as Support. Pac CA 1 N for CICS TS V 3 IBM Confidential © Copyright IBM Corporation 2009
IBM Software Group | Web. Sphere software Two models of CICS SOA integration Requester CICS connectivity for SOA Service Provider CICS TS CICS Program Web service Client SOAP Web services end-point Integration logic A connector Business logic B I Requester D CICS TS (Service Provider) Business Function Web service Client z. WAS - CICS SOAP CICS Web A services support Integration logic Business logic Data access I B D 12 © 2009 IBM Corporation
CICS Transaction Gateway WAS=Web. Sphere Application Server WAS Servlet, JSP, J 2 EJB C Any Java application E C I CICS TG CICS TS CICS Program CICS Transaction Gateway Business logic B Many Languages, Many Platforms 13
WEBSPHERE APPLICATION SERVER 14 © 2009 IBM Corporation
CICS Transaction Gateway WAS=Web. Sphere Application Server Other/Any WAS CICS TG CICS TS CICS Program Web Service Client Web. Sphere Application J Server Web 2 C Service Support I CICS Transaction Gateway Business logic B D 15
IBM Software Group | Web. Sphere software CICS Transaction Gateway Topologies Topology 1 CTG topologies Web. Sphere Application Server and CICS TG on a distributed platform System z Topology 2 Service Consumer Web. Sphere Application Server on a distributed platform CICS TG z/OS SOAP Network Topology 3 HTML Web. Sphere Application Server and CICS TG on System z CICS Whitepaper: Integrating Web. Sphere Application Server and CICS using the CICS Transaction Gateway http: //www. ibm. com/software/htp/cics/ctg/zos/ z. WAS - CICS 16 © 2009 IBM Corporation
IBM Software Group | Web. Sphere software CICS connectivity for SOA Exposing CICS applications as Web service Other/Any WAS - Connector approach CICS TG CICS TS CICS Program Web Service Client Web. Sphere Application J Server Web C A Service Support A CICS Transaction Gateway Business logic B D The J 2 EE Connector Architecture (JCA) defines the common client interface (CCI) for a Java client to drive interactions with enterprise information systems such as CICS The CICS Transaction Gateway (CICS TG) provides the JCA access to CICS Wizards are available in Rational Application Developer, Web. Sphere Integration Developer, and Rational Developer for System z to generate the objects (‘J 2 C bean’) that do any necessary conversion and data formatting before invoking the CICS program via the CICS TG. z. WAS - CICS 17 © 2009 IBM Corporation
IBM Software Group | Web. Sphere software Topology 1 CTG topologies WAS (any platform) CICS TS Web. Sphere Application Server Web Service Support CICS Program Other/Any Alice Web Service Client SOAP EJB CICS TG Client daemon J 2 C SNA TCP/IP Business logic B IPIC driver IPIC CICS TG V 7. 1 DB 2 Supports ECI and EPI resource adapters Local protocol specified on connection settings of connection factory – Servername parameter used to specify IPIC or Client daemon connection Communication from Web. Sphere can be SNA or TCP/IP, or IPIC if CICS system is V 3. 2 – IPIC allows sending >32 KB Supports asserted identity and 2 PC XA transactions if IPIC connection used from CICS TG V 7. 1 to CICS TS V 3. 2 z. WAS - CICS 18 © 2009 IBM Corporation
IBM Software Group | Web. Sphere software Topology 2 CTG topologies WAS (any platform) Other/Any Alice Web Service Client SOAP Web. Sphere Application Server Web Service Support EJB CICS TG (z/OS) CICS Transaction Gateway J 2 C TCP SSL EXCI IPIC CICS TS CICS Program Business logic B DB 2 Remote protocol specified on connection settings of connection factory can specify TCP or SSL Communication from Gateway daemon can be EXCI or IPIC – IPIC server definitions are stored in the configuration file of the Gateway daemon CICS TG V 7. 1 – IPIC allows sending >32 KB if CICS system is V 3. 2 z. WAS - CICS 19 © 2009 IBM Corporation
IBM Software Group | Web. Sphere software CTG topologies Topology 3 WAS (z/OS) Other/Any Alice Web Service Client SOAP Web. Sphere Application Server Web Service Support EJB CICS TS CICS Program J 2 C EXCI Business logic IPIC B DB 2 Local protocol specified on connection settings of connection factory (local: ) Communication from Web. Sphere (servant region) can be EXCI or IPIC – IPIC allows sending >32 KB if CICS system is V 3. 2 Remote connection support is also provided for this topology z. WAS - CICS 20 CICS TG V 7. 1 © 2009 IBM Corporation
CICS Web Services Support – Transactional interoperation Web. Sphere Application Server (any platform) CICS TS Pipeline EJB Web Service Requester SOAP WS-Atomic CICS Web Services support Business logic I B D DB 2 VSAM DB 2 • WS standards provide two-phase commit transactional support Global transaction WS-Atomic. Transaction WS-Coordination • • All flows are via TCP/IP Web. Sphere Application Server becomes the transaction manager 21
CICS Transaction Gateway – Transactional interoperation Other/Any Web Service Client CICS TG (z/OS) WAS (any platform) SOAP Web. Sphere Application Server Web Service Support EJB CICS TS CICS Program J 2 C XA CICS Transaction Gateway EXCI RRS Business logic TCP/IP B DB 2 VSAM DB 2 • J 2 EE standards provide for two-phase commit recovery XA protocol used for syncpointing and recovery CTG issues RRS to communicate with CICS • • • Global transaction CICS Transaction Gateway must reside on z/OS CICS Transaction Gateway can provide high availability solution Web. Sphere Application Server controls the transaction 22
WEB 2. 0 23 © 2009 IBM Corporation
Number of users per application Typical challenges faced by IT organisations and the businesses they support Strategic, longterm apps consume all resources … … so the backlog of simple, tactical applications is not adequately addressed Business Challenges Lack of agility – IT can’t respond fast enough to business requirements Spreadsheet “apps” hard to manage, share, keep current Silo-ed, outdated information IT Challenges IT is backlogged and suffering from too many business requests Underground or “shadow” IT Security violations Loss of information # of applications 24 © 2009 IBM Corporation
A little bit of theory Mashup – A lightweight web application that combines data from more than one source REST – Uniform access via HTTP – GET, POST, PUT, DELETE – All relevant resources are addressable via URIs Widget – a small program or piece of dynamic content that can be easily placed into a web site. Feed – Web feed is a data format used to provide frequently updated content 25
IBM Provides A Blueprint For Helping Customers Unlock The Value Of Their Enterprise Assets With Web 2. 0 Use quick & easy composition for immediate value Expose services via widgets/feeds for maximum reuse Mashups Liberate your services to the Web REST Applications IBM Middleware Data Lotus Mashups 1 Web. Sphere Portal 1 IBM Mashup Center components 26 Strategic Plays to Beat Microsoft Info. Sphere Mashup Hub 1 Lotus Widget Factory 1 Web. Sphere s. Mash IBM REST-enabling all its middleware © Copyright IBM Corporation 2009
Web. Sphere s. Mash & Lotus Mashups: Assemble of mashable assets. widgets into dynamic mashups Web. Sphere s. Mash: Use dynamic scripting languages to create and run widgets 27
Insurance Underwriting Mashup By clicking on the link, other properties already insured in the same area – and the resulting exposure – are added to the map 28 © Copyright IBM Corporation 2009
CICS Web 2. 0 ATOM Feeds Mainframe z/OS 1. 9 Enable CICS applications to - Provide live information for Web 2. 0 consumption Integrate with related data Give full picture in a single holistic view CICS Transaction Server DB 2 9 for z/OS Make new kinds of applications based on up-todate content and information - Decision-support tools for knowledge workers Composite user interfaces for expert workers Information feeds & widgets to consumers for use in their own mashups - Atom feeds Unix Insurance Customers and Policies IBM Lotus Mashups Server Servlet Develop using Web. Sphere s. Mash or Rational Developer for z with EGL In CICS V 3, use Support. Pac CA 8 K to generate feeds Map API PC Browser High level architecture: CICS Atom feeds 29 © Copyright IBM Corporation 2009
BUSINESS EVENTS 30 © 2009 IBM Corporation
31 © 2009 IBM Corporation
32 © 2009 IBM Corporation
33 © 2009 IBM Corporation
34 © 2009 IBM Corporation
35 © 2009 IBM Corporation
36 © 2009 IBM Corporation
37 © 2009 IBM Corporation
38 © 2009 IBM Corporation
IBM Turning Insight into Action Leveraging Business Event Processing What’s Happening ? When to Act ? Event Sources What to Do ? Know What’s Happening, When to Act, and What to Do 39 © Copyright IBM Corporation 2009
New! WBE Integration with CICS Transaction Server Capture Mainframe Event Sources for Smarter Business Outcomes Events CICS Transactions Web. Sphere Business Monitor Account Activity WBE Runtime Evaluations Correlations Events ! Stock Trades Web. Sphere Business Events Web. Sphere Process Server Actions to Investigate suspicious activity CICS TS V 4. 1 Publish CICS Events Support. Pac 4 Q 08 Full CICS events support 2 Q 09 Providing Real-Time Detection and Compliance 40 DRAFT for Fall Launch 15/03/2018 Find Web. Sphere Servic Registry and Repository © 2009 IBM Corporation
IBM Turning Insight into Action Leveraging Business Event Processing When to Act ? What needs to be detected ? Event Sources Evaluations Correlations What to Do ? ! Know What to detect, When to Act and What to Do 41 © Copyright IBM Corporation 2009
Web. Sphere Business Events Sense when to act … AND ACT!! Event Definitions Allows business users detect, evaluate and react to business events in real time Designed for process analysts ─ Understands business language and vernacular ─ Enables straightforward expression of business logic ─ Codeless, Graphical Authoring tools Accepts events from many sources Event Processing ─ “Derived" events ─ Plug & Play to extend your existing SOA and BPM infrastructures Sense meaningful patterns ─ Simple and complex rules patterns ─ Define filters and conditions ─ Event flows and long running correlations Event Flow Initiate the appropriate response ─ ─ 42 Take action when those patterns form Drive existing services (WPS business process, ESB, etc. ) Automated Tasks (Update DB, write to file, etc. ) Notifications (Email, pager, etc. ) © 2009 IBM Corporation
Scenarios Improved Customer Relationship Management Improved Decision Support Improved Self Service – Web. Sphere Application Server Web 2. 0 feature pack exposes CICS information to desktop gadgets for Retail Banking customers. – White label Facebook application for Retail Banking customers Operational Dashboards – IBM Mashup Centre plots branch, server and data centre locations against network connectivity and sales figures. 43 © 2009 IBM Corporation
Operational Dashboards - UK bank Business events such as major financial transactions, exceptions, threshold breaches etc. are often difficult to expose from operational systems in real-time. Real-time event alerting can be useful for fraud detection, compliance monitoring, business intelligence and account management. IT events from operational applications, infrastructure components and systems management often provide indicators of business issues. Changing situations demand flexible dashboards with the ability to drill down and analyse any element of business or IT performance Mashup Hub Manager Operations 44 Catalogue Mashup Systems Mgmt. Operational Data Application s Business Processes © 2009 IBM Corporation
IBM Software Group | Web. Sphere software Transform Insight into Action with CICS Events and WBE CICS Application Algorithms Web. Sphere Business Events Business Occurrences Events Web. Sphere Business Monitor Business Information Business Leader Web. Sphere Process Server CICS TS Version 4. 1 Key Business information can be externalized from critical Applications as execution occurs to • Immediately update business views • Trigger other business behaviours NO APPLICATION CHANGE REQUIRED z. WAS - CICS Business Professional 45 © 2009 IBM Corporation
IBM Connecting to CICS … 1. CICS Integration strategy ( P A I B D ) 2. Web Services and WSRR integration 3. Web 2. 0 integration strategy 4. Business events for Realtime Information and Insight into Action 46 © Copyright IBM Corporation 2009
47 © 2009 IBM Corporation
3d07943e9c9d6939fbfdea417cac85aa.ppt