SOA for CICS Customers

Embed Size (px)

Citation preview

  • 8/8/2019 SOA for CICS Customers

    1/35

    Mike Jeffery, ConsultantMike Jeffery, Consultant

    [email protected][email protected]

    February 2006February 2006

    Service OrientatedService Orientated

    Architecture, for the CICSArchitecture, for the CICS

    CustomerCustomer

  • 8/8/2019 SOA for CICS Customers

    2/35

    Important copyright informationImportant copyright information

    This presentation is written by Mike Jeffery, ExHursley Ltd, and is covered under internationalcopyright laws.

    Any reuse, or distribution requires my approval The following are trademarks of International Business Machines Corporation in the United

    States, other countries, or both: IBM, CICS, CICS/ESA, CICS TS, CICS Transaction Server,DB2, MQSeries, OS/390, S/390, WebSphere, z/OS, zSeries, Parallel Sysplex.

    Java, and all Java-based trademarks and logos, are trademarks of Sun Microsystems, Inc.in the United States, other countries, or both.

    Microsoft, Windows, Windows NT, and the Windows logo are trademarks of MicrosoftCorporation in the United States, other countries, or both.

    Some graphics in this presentation are used with kind permission of IBM

  • 8/8/2019 SOA for CICS Customers

    3/35

    AgendaAgenda

    Business needs

    Service Orientated Architecture (SOA)

    Architectural patterns, and components

    Work flow, brokers, adapters

    CICS 3.1 added value

    Lets look at Version 2 as welland adapters available

    Tooling

    How to start

  • 8/8/2019 SOA for CICS Customers

    4/35

    Service Orientated ArchitectureService Orientated Architecture

    Service Orientated Architecture (SOA)

    means defining an execution of (say) a CICS transaction,

    or a collection of CICS transactions as a serviceThis servicecan then be called and executed,'orchestrated' by an outside intelligent process

    Data can be passed to the service, and received from it

    by the intelligent process

    The serviceis now automatic, and plays a part in a widerdefinition of a business process

  • 8/8/2019 SOA for CICS Customers

    5/35

    Business Needs 1/2Business Needs 1/2

    Information Week Survey of business priorities showed thatthe top 4 items were -

    Streamline or optimize business processes

    Boost worker productivity across the companyImprove customer service

    Gain better return on IT capital investments

  • 8/8/2019 SOA for CICS Customers

    6/35

    Business Needs 2/2Business Needs 2/2

    Quick deployment of new business function

    using existing working applications, and data

    using partners, services, new technology

    getting productivity gains from tooling

    Re engineering of business processes

    Workflow engines driving automatic application execution

    with data being passed

    VERY quick manipulation of workflow activities

    Loosely coupled execution of components

    nothing causes a blockage Using new technology

    Web services, XML, programming language of choice

    Tooling to link it all together, easily and quickly

  • 8/8/2019 SOA for CICS Customers

    7/35

    e-business workloads areunpredictable

    Seasonally / time of day

    Continuous availability is essential

    Users impatient and intolerantMore complex interactions ...

    Reach further back into network

    Require more transactions

    100Mhits/day

    15M

    trans/day

    12% signon

    40%order

    3% Buy

    45% browse

    Business interactions

    ee--business problem statementbusiness problem statement

    Time scale

    Volumes

  • 8/8/2019 SOA for CICS Customers

    8/35

    Connecting to/from a CICSConnecting to/from a CICS serviceservice

    Websphere MQ

    Just MQ, via Broker, or Workflow

    XML, Soap, any program, any bridge, any adapter

    HTTPGateways, XML, Soap, any program, any bridge , anyadapter

  • 8/8/2019 SOA for CICS Customers

    9/35

    Used in the connection to/from a CICSUsed in the connection to/from a CICS serviceservice

    CICS Transaction Gateway

    being driven by another CICS, or Websphere Application

    Server

    Java programs, EJB's

    Web Services

    SOAP, XML

    Programs

    EJB, Java, perhaps instigated by Server Foundation

    CICS Adapters

    CICS Integrator Agent, a part of V3Integrator Agent for CICS..... A product for use with

    Version 2

    CICS Business Process Event Publisher

  • 8/8/2019 SOA for CICS Customers

    10/35

    Some termsSome terms

    Business Integration (BI) is remodeling business processes

    e.g. like a process for servicing an insurance claim

    or updating an address fileOn Demand Computing, encompasses BI and SOA

    the architecture templates, and marketing material usethese terms in the same context

    Brokers used to be called Integrators

    Server Foundation is an IBM Java workflow product, that

    uses services

    it runs in Websphere Application Serveras can a CICS Transaction Gateway

    IBM also has a non Java workflow product, WebSphereWorkflow Manager 3.5

  • 8/8/2019 SOA for CICS Customers

    11/35

    Architectural Patterns, the different tiersArchitectural Patterns, the different tiers

    Data Tier

    Relational, Flat file ........

    Transactional Tier

    CICS, IMS .........

    Business services tier

    Broker, Workflow

    Web Management Tier

    Web site data, portals, WAS, etc

    Input Tier

    browser, portal, wireless, desktops, telemetry, anyprogram

    Many protocols, SCADA, Web services, XML.......

  • 8/8/2019 SOA for CICS Customers

    12/35

    Web Sites,

    Portals,

    Data,

    B2B

    Web,

    CallCenter,

    Mobile,

    Telemetry

    Broker,

    Workflow

    engines

    ApplicationExecution

    and

    Data Store

    IncludingCICS, DB2,

    IMS

    Input TierWeb

    ManagementTier

    ProcessControl Tier

    Application /Data Tier

    Work mostly instigated by Input Tier

    Each interaction takes an individual path dependent on data

    Work ebbs / flows through the model , controlled by the Process Tier

    CICS has data and transaction requests flowed automatically

    A Logical view of a re-engeneered architecture

  • 8/8/2019 SOA for CICS Customers

    13/35

  • 8/8/2019 SOA for CICS Customers

    14/35

    Workflow foils did not convertWorkflow foils did not convert

  • 8/8/2019 SOA for CICS Customers

    15/35

    Message BrokersMessage Brokers

    Message Hub/Broker

    Transformation

    Business Rules

    Intelligent Routing

    Adapter

  • 8/8/2019 SOA for CICS Customers

    16/35

    Adapters, their usesAdapters, their uses

    iSeries

    NT

    Any

    CICS

    Sun

    HP

    Broker

    Modeling

    Broker

    Broker

    Workflow

    A

    A

    A

    A

    A

    A

  • 8/8/2019 SOA for CICS Customers

    17/35

    CICS as aCICS as a serviceservice

    Each application can be aservice

    CICS and non CICS

    It can be used/reused, ondemand

    Workflow sets a path through

    applications

    CICS and non CICS

    The business process ismodeled in the Workflow

    engine

  • 8/8/2019 SOA for CICS Customers

    18/35

    The process control tiers, workflow and SOAThe process control tiers, workflow and SOA

    Workflow engines use / need

    An inventory of services

    Memory test haha, CICS apps are defined as a servicewith lots of other services, on many platforms

    Loose coupling via a messaging infrastructure

    They are a process control engines

    that run business processes

    they are interuptable

    hold state, over a large period of time if need be

    have many instances of the same process active at onetime

  • 8/8/2019 SOA for CICS Customers

    19/35

    The process control tiers, brokersThe process control tiers, brokers

    Brokers can

    Change MQ message structure, format

    Select data from fieldsMake new messages

    in new formats

    Issue SQL callsStore data

    invoke different message models (like publish / subscribe)

    They work on MQ messages 'in flight' and can provide a

    useful process point into / out of CICS

  • 8/8/2019 SOA for CICS Customers

    20/35

    CICS V3 how does this help 1/2CICS V3 how does this help 1/2

    New function makes SOA easier, more automatic in baseproduct

    SOAP built into the product

    1.1 and 1.2 level

    'pipelines' are good, SOAP call/request is automatic

    no install/migration needs

    easier for inbound/outboundHTTP 1.1 with outbound API

    Transport Layer Security (TLS) support

    Improved SSL V3 supportcaching, more secure connections

    XPlink for C and C++ programs

    Threadsafe WEB commands, many new commands too !

    Threadsafe OTE (Open Transaction Environment)

    applications

  • 8/8/2019 SOA for CICS Customers

    21/35

    CICS V3 how does this help 2/2CICS V3 how does this help 2/2

    Continued............

    EJB 2.1 deployment descriptor toleration

    Websphere V6 tooling can deploy EJB 1.1

    32K COMMAREA limit removed by using 'containers'

    Codepage conversion enhancements

    Application templates for easy start

    Catalog manager and purchase order applicationsLots of Cipher suits supported (AES)

    selection of encryption levels

    Mixed case passwordsEnhancements to revocation processing

  • 8/8/2019 SOA for CICS Customers

    22/35

    Summarizing CICS V3 for SOASummarizing CICS V3 for SOA

    Their are more CICS V3 enhancements

    See other SHARE presentations for the full content

    I've just selected the parts that give you more SOAfunctionality

    This means you have a scalable, secure, atomicWeb Services transaction in CICS.

    CICS transactions are servicesthat can be calledfrom any / many environments

  • 8/8/2019 SOA for CICS Customers

    23/35

    CICS V3.1 adaptersCICS V3.1 adapters

    CICS Integrator Adapter for z/OS (CIAZ)

    built into V3

    provides adapters framework for

    3270, Commarea, FEPI, MQ

    in V2 CICS WEB SERVICES you have to handlethe encode/decode yourself

    WSED tooling will do it for you CIAZCICS 3270 Bridge Adapter for z/OS (C3BA)

    V2 and up

    WSED tooling allows developmentwith navigation through screens

  • 8/8/2019 SOA for CICS Customers

    24/35

    And the tooling ..........in CICS.........And the tooling ..........in CICS.........

    CICS Web Services Assistant, provided with V3

    runs as a batch job

    maps XML onto structures for Cobol, PL/I and Cconverted automatically at runtime

    inbound / outbound

    performance figures are good

    check my zJournal article ! free copy in the trade show !

    Make no mistake, this is a VERY useful tool !!!

  • 8/8/2019 SOA for CICS Customers

    25/35

    And the tooling ..........in Websphere workbenchesAnd the tooling ..........in Websphere workbenches

    WebSphere Studio Enterprise Developer (WSED) V6

    Eclipse based, covers MANY development needs, many

    platformsAllows development of Web Services applications

    spanning all environments, CICS ones tested on

    distributed CICS

    Service Flow Modeler, this is the tooling for CICS

    Technology preview, sign up on the IBM web site

    Works with HATS, 3270 bridge, and CIA

    allows whole scope of program development tocommunicate with CICS services

  • 8/8/2019 SOA for CICS Customers

    26/35

    CICS Business Event Publisher for MQSeries V1.2CICS Business Event Publisher for MQSeries V1.2

    Detects application and data events in CICS without

    changing your applications

    Does not interfere with the application operationDistributes information / data using MQ

    Your CICS systems can automatically trigger actions onanything

    eg phones, pagers, application programs, workflow

    engines

    Very easy setup

    Works in a similar way for IMS/DB and DB2

  • 8/8/2019 SOA for CICS Customers

    27/35

    CICS Business Event Publisher for MQCICS Business Event Publisher for MQ

    Databaseserver

    3270

    Rules VSAMdatabaseCICS TS

    TC True

    Message Server

    MQ Queuesand Q ManagerOperations

    The World

    Admin

    Client

  • 8/8/2019 SOA for CICS Customers

    28/35

    WAS SF, to CICS EJBWAS SF, to CICS EJB

    New Java

    Programs

    Reworked Cobol

    programs

    Existing CobolPrograms

    CI

    C

    S

    Web

    Servicesor

    CIAZ

    WebsphereEnvironmentWebsitemanagement,ServerFoundation,

    CTG

    Web Access

  • 8/8/2019 SOA for CICS Customers

    29/35

    Why should I look at SOA ?Why should I look at SOA ?

    It answers your companies senior management's concernsBusiness process re-engeneering

    Doing more with less

    Improving customer serviceOptimizing IT resources

    Scalable and secure

    Easy deployment, reuse

    Tooling is , more or less, in place

  • 8/8/2019 SOA for CICS Customers

    30/35

    So what do I do , how do I startSo what do I do , how do I start

    Management control and commitment is needed

    A project would need to look at the companies businessprocesses

    Apply them to their architecture

    Define your application programs as services in the

    modeled business processes

    Look at adapters to handle data retrieval / insertionModel intelligent processes to 'orchestrate' execution of

    services

    From a CICS perspective, check .........your version, version 3 is better !

    adapters, CIA, CBEP

    MQ usage, and configuration

  • 8/8/2019 SOA for CICS Customers

    31/35

    Depends who yu are ......Depends who yu are ......

    What's your companies 'policy', on .........

    Websphere ?

    Tooling ?Web Services ?

    Distributed, mainframe ?

    CICS development ?

    Other platforms, other application packages ?

    Java programming ?

    MQ / Brokers / Workflow ?

    Answering these questions will determine you companiesarchitectural patterns

    and show where CICS fits

  • 8/8/2019 SOA for CICS Customers

    32/35

    And where yu going............And where yu going............

    Get ready in CICS for SOA and the use of services

    make an inventory of your CICS serviceswith the WSED

    toolingPrepare your CICS for use in business processes

    Look at .....................

    Version 3, and the CICS Integrator Adapter (CIA)

    Evaluate the CICS Business Event Publisher

    If you have brokers, put them next to CICS

    Check the capabilities of the WSED tooling .........

    its very powerful and enables the whole environment

  • 8/8/2019 SOA for CICS Customers

    33/35

    If you are Version 2If you are Version 2

    Look at Version 3........... get it !!

    if you want SOA .........Version 3 is the place to be

    If you are staying on V2 for a whileYour HTTP won't use the new CIA for Web Services

    You will need to install the SOAP feature / support pac

    You probably need to look at an adapter

    CBEP

    If you use WAS, you will probably use EJB's

    Check the WSED tooling support

    be aware that if you will be using Web Services that thenew levels will be supported (first?) in Version3

  • 8/8/2019 SOA for CICS Customers

    34/35

    If you are going to Version 3If you are going to Version 3

    Check the WSED tooling

    inventory your CICS services

    Understand and implement CIALook at CBEP

    Work with the developers

    and the architects

  • 8/8/2019 SOA for CICS Customers

    35/35

    SummarySummary

    SOA addresses your senior management's needsVersion 3 is a big release for SOA

    CICS servicescan be automatically 'orchestrated' byintelligent processes

    Start now