2
IBM
© Copyright IBM Corporation 2009
Built to Support Evolution!
Business SystemsFront End
Browser
Server
PersonalComputer
"Dumb" Terminal
e-business
e-business with Core Business Systems
Client-Server
GUI Front-End
TerminalProcessing
Internet Enterprise Network Central Site
Web Server
Appl. Server
Personal Computer
Tim
e
Applic
ati
on Invest
ment
Pro
tect
ion
CoreBusiness Services
CoreBusiness Systems
Applications
Rich Client
Rich Client
Business SystemsDatabases
Browser
Web Server
Appl. Server
IBM Software Group | WebSphere software
3
The Business Benefit of Application Reuse ?
http://www.logiclibrary.com/pdf/wp/ROI_of_SOA.pdf
24%
F
aste
r!
SOA Components
Non-SOA Components
24% Faster ROI using
SOA!
“Industry has already invested trillions in IT. If faster results can be achieved reusing rather than rewriting, only a fool would chose to rewrite”
-- John Balderson, The Spencer Group
What is the cost to your IT budgetif you are not already reusing your applications?
4
IBM
© Copyright IBM Corporation 2009
CICS Red Books – Most Popular
1. Java Application Development for CICS (14,000+)
2. Application Development for CICS Web Services (14,000+)
3. Architecting Access to CICS within an SOA (13,000+)
4. CICS Transaction Gateway for z/OS Version 6.1 (11,000+)
5. CICS Performance Analyzer (7,000+)
6. CICS Transaction Server V3R1 Channels and Containers Revealed (7,000+)
Securing CICS Web Services
Updated
5
IBM
© Copyright IBM Corporation 2009
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
6
IBM
© Copyright IBM Corporation 2009
CICS application architecture – a framework for reuse
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, DB2, IMS, …
Provides a framework for reuse and facilitates separation of concerns, clear interfaces, ownership, and optimisation
CICS Transaction Server
Client3270
PresentationIntegration
logicData
access
Transaction
DIP
Business logic
B
IBM Software Group | WebSphere software
7zWAS - CICS © 2009 IBM Corporation
Reusing 3270 presentation logic – Link3270 bridge
Some programs combine presentation, integration, and business logic
Link3270 Bridge provides a COMMAREA interface to BMS and terminal-oriented 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
CICS TS
3270 terminal DI/BP
Transaction
I/BP
Client Link3270 Bridge
IBM Software Group | WebSphere software
8zWAS - CICS © 2009 IBM Corporation
Connectivity to CICS programs
Typical clients…– Web service requester
– Java servlet or EJB running in a J2EE app server
– C# application running in a Microsoft .NET VM
– Web browser
– Messaging middleware
Adapter can be – External or Internal
– Written or generated by tools
A
CICS TS
3270 terminal
DB
P
Transaction
Client
A
A
I
P Presentation logic
Integration logicI
Business logicB
Data access logicD
CICS connectivity for SOA
IBM Software Group | WebSphere software
9zWAS - CICS © 2009 IBM Corporation
IBM Rational Developerfor System z
Rational Application Developer or Rational Business Developer
IBM Rational Developer for System z version 7.5
CICS BMS/IMS MFS Map Support CICS BMS/ IMS MFS Map Support
• Visually create and modify BMS Map sets or IMS/MFS
• Generates JCL• Work with local or remote maps
z/OS Application Development
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
XML Services for the Enterprise
XML Services for the Enterprise- SOA support for COBOL or PL/I using CICS
or IMS • 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
CICS Service Flow support
CICS Service Flow support• Supports CICS Service Flow Feature• Wizards to build service flows out of your
existing COMMAREA WSDL and Terminal based CICS applications.
DB2 Stored Proc for COBOL - PL/I
DB2 Stored Procedure for COBOL and PL/I
• Create DB2 stored procedures on z/OS in either COBOL or PL/I
• Build and catalog support for the DB2 stored procedure
• Debug z/OS based stored procedures from workstation
z/OS Tooling Integration
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
DB2 App Generator wizard
DB2 App Generator wizard• Generate WSDL, JCL and CICS COBOL
program to access DB2• Generate CRUD programs code from existing
DB2 table, which can also be integrated into web service applications
VSAM App Generator wizardVSAM App Generator wizardGenerate JCL , BATCH or CICS
COBOL program skeletons to access VSAM/QSAM
UML to COBOL Transformation(*) 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)
Core functions
Secondary functions
10
IBM
© Copyright IBM Corporation 2009
Web Services Enablement Styles
Generate
ExistingBusiness App
(e.g. COBOL, C, C++, PLI)
New service: WSDL
Bottom-up
Generate
Existing service description WSDL
NewBusiness App (COBOL,
C, C++, PLI)
Top-down
Map andGenerate
Meet in the middle
ExistingBusiness App
(COBOL, C, C++, PLI)
Existing service description WSDL
11
IBM
© Copyright IBM Corporation 2009
CICS support for WSRR
A Web service registry is the 3rd 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• Publish WSDL representing CICS Web service providers• Retrieve WSDL representing Web services to be used by CICS requesters• Complements CICS Web services assistants, WSDL editors, etc.• Currently available as SupportPac CA1N for CICS TS V3
IBM Software Group | WebSphere software
12zWAS - CICS © 2009 IBM Corporation
Two models of CICS SOA integration
CICS TS
Web service Client
CICS Program
Business logic
B
Requester
connector
Web services end-point
Service Provider
DIntegration
logic
I
ASOAP
CICS TS
Web service Client
CICSWeb
servicessupport
Integration logic
Dataaccess
Business Function
DI
Business logic
B
Requester (Service Provider)
SOAPA
CICS connectivity for SOA
13
CICS Transaction GatewayCICS Transaction Gateway
CICS TS
CICS Program
Business logic
B
CICS Transaction
Gateway
CICS TGServlet, JSP,
EJB
WAS
J2C
Any Java application
ECI
Many Languages, Many Platforms
WAS=WebSphere Application Server
© 2009 IBM Corporation14
WEBSPHERE APPLICATION SERVER
15
CICS Transaction GatewayCICS Transaction Gateway
CICS TS
Web Service Client
CICS Program
Business logic
B
Other/Any
CICS Transaction
Gateway
CICS TG
WebSphere Application Server Web
Service Support
WAS
J2C
WAS=WebSphere Application Server
I
D
IBM Software Group | WebSphere software
16zWAS - CICS © 2009 IBM Corporation
CICS Transaction Gateway Topologies
Whitepaper: Integrating WebSphere Application Server and CICS using the CICS Transaction Gateway http://www.ibm.com/software/htp/cics/ctg/zos/
CICS
Network
HTML
WebSphere Application Server
and CICS TG on System z
WebSphere Application Server and CICS TG on a
distributed platform
WebSphere Application Server
on a distributed platform
CICS TGz/OS
Topology 1
Topology 3
Topology 2
System z
ServiceConsumer SOAP
CTG topologies
IBM Software Group | WebSphere software
17zWAS - CICS © 2009 IBM Corporation
Exposing CICS applications as Web service - Connector approach
CICS TS
Web Service Client
CICS Program
Business logic
B
Other/Any
CICS Transaction
Gateway
CICS TG
WebSphere Application Server Web
Service Support
WAS
JCA D
The J2EE 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
A
Wizards are available in Rational Application Developer, WebSphere Integration Developer, and Rational Developer for System z to generate the objects (‘J2C bean’) that do any necessary conversion and data formatting before invoking the CICS program via the CICS TG.
CICS connectivity for SOA
IBM Software Group | WebSphere software
18zWAS - CICS © 2009 IBM Corporation
CICS TS
CICS Program
Business logic
B
Web Service Client
Other/Any
CICS TGWebSphere Application Server Web
Service Support
WAS (any platform)
J2C
Topology 1
DB2
EJB
SOAP
SNA
TCP/IP
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 WebSphere can be SNA or TCP/IP, or IPIC if CICS system is V3.2
– IPIC allows sending >32 KB
Supports asserted identity and 2PC XA transactions if IPIC connection used from CICS TG V7.1 to CICS TS V3.2
Alice
CICS TG V7.1
Client daemon
IPIC driver IPIC
CTG topologies
IBM Software Group | WebSphere software
19zWAS - CICS © 2009 IBM Corporation
CICS TS
CICS Program
Business logic
B
Web Service Client
Other/Any
CICS Transaction
Gateway
CICS TG (z/OS)WebSphere Application Server Web
Service Support
WAS (any platform)
J2C
Topology 2
DB2
EJB
SOAP
EXCI
IPICTCPSSL
Remote protocol specified on connection settings of connection factory can specify TCP or SSL
Alice
CICS TG V7.1
Communication from Gateway daemon can be EXCI or IPIC
– IPIC server definitions are stored in the configuration file of the Gateway daemon
– IPIC allows sending >32 KB if CICS system is V3.2
CTG topologies
IBM Software Group | WebSphere software
20zWAS - CICS © 2009 IBM Corporation
CICS TS
CICS Program
Business logic
B
Web Service Client
Other/Any WebSphere Application Server Web
Service Support
WAS (z/OS)
J2C
Topology 3
DB2
EJB
SOAP
EXCI
IPIC
Local protocol specified on connection settings of connection factory (local:)
Communication from WebSphere (servant region) can be EXCI or IPIC
– IPIC allows sending >32 KB if CICS system is V3.2
Remote connection support is also provided for this topology
Alice
CICS TG V7.1
CTG topologies
21
CICS Web Services SupportCICS Web Services Support – – Transactional interoperationTransactional interoperation
• WS standards provide two-phase commit transactional support WS-AtomicTransaction WS-Coordination
• All flows are via TCP/IP• WebSphere Application Server becomes the transaction manager
CICS TS
Web Service
Requester
CICSWeb
Servicessupport
Businesslogic
DB
WebSphere Application Server
(any platform)
Pipeline
VSAM
DB2I
EJB
DB2
WS-Atomic
Global transaction
SOAP
22
CICS TS
Web Service Client
CICS Program
Business logic
B
Other/Any
CICS Transaction
Gateway
CICS TG (z/OS)
WebSphere Application Server Web
Service Support
WAS (any platform)
J2C
CICS Transaction Gateway – CICS Transaction Gateway – Transactional Transactional
interoperationinteroperation
VSAM
DB2
DB2
EJB
SOAP EXCI
RRS
TCP/IP
XA
Global transaction
• J2EE standards provide for two-phase commit recovery XA protocol used for syncpointing and recovery CTG issues RRS to communicate with CICS
• CICS Transaction Gateway must reside on z/OS• CICS Transaction Gateway can provide high availability solution• WebSphere Application Server controls the transaction
© 2009 IBM Corporation23
WEB 2.0
© 2009 IBM Corporation24
Typical challenges faced by IT organisations and the businesses they support
Nu
mb
er o
f u
sers
per
ap
pli
cati
on
# of applications
… so the backlog of simple, tactical applications is not adequately addressed
Strategic, long-term apps consume all resources …
Lack of agility – IT can’t respond fast enough to business requirements Spreadsheet “apps” hard to manage, share, keep current Silo-ed, outdated information
Business Challenges
IT is backlogged and suffering from too many business requests Underground or “shadow” IT
Security violations Loss of information
IT Challenges
25
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
26
IBM
© Copyright IBM Corporation 2009
IBM Provides A Blueprint For Helping Customers Unlock The Value Of Their Enterprise Assets With Web 2.0
Lotus Mashups1
WebSphere Portal
Use quick & easy composition for immediate value
Liberate your services to the
Web
Expose services via widgets/feeds for maximum reuse
IBM Middleware
Data
Applications
REST
IBM REST-enabling all its middleware
InfoSphere Mashup Hub1
Lotus Widget Factory1
WebSphere sMash
Mashups
1 IBM Mashup Center components
27
WebSphere sMash & Lotus Mashups
Lotus Mashups: Assemble of mashable assets.widgets into dynamic mashups
WebSphere sMash: Use dynamic scripting languages to create and run widgets
28
© Copyright IBM Corporation 2009
By clicking on the link, other properties already insured in the same area – and the resulting
exposure – are added to the map
Insurance Underwriting Mashup
29
© Copyright IBM Corporation 2009
-
CICS Web 2.0 ATOM Feeds
Enable CICS applications to - Provide live information for Web 2.0 consumption- Integrate with related data- Give full picture in a single holistic view
Make new kinds of applications based on up-to-date 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 Develop using WebSphere sMash or Rational
Developer for z with EGL In CICS V3, use SupportPac CA8K to generate
feeds
High level architecture: CICS Atom feeds
PC Browser
Map API
z/OS 1.9
CICS Transaction
Server DB2 9 for z/OS
InsuranceCustomers and
Policies
Mainframe
Atom feeds
IBM LotusMashupsServer
Unix
Servlet
© 2009 IBM Corporation30
BUSINESS EVENTS
© 2009 IBM Corporation31
© 2009 IBM Corporation32
© 2009 IBM Corporation33
© 2009 IBM Corporation34
© 2009 IBM Corporation35
© 2009 IBM Corporation36
© 2009 IBM Corporation37
© 2009 IBM Corporation38
39
IBM
© Copyright IBM Corporation 2009
Event Sources
Know What’s Happening, When to Act, and What to Do
Turning Insight into Action Leveraging Business Event Processing
What’s Happening ?What’s Happening ?
When to Act ?When to Act ?
What to Do ?What to Do ?
© 2009 IBM Corporation40
CICS Transactions
New! WBE Integration with CICS Transaction ServerCapture Mainframe Event Sources for Smarter Business Outcomes
Stock Trades WebSphere
Business Events
Events
Actions to Investigate
suspicious activity
WebSphereBusiness Monitor
Account Activity
WebSphereProcess Server
Providing Real-Time Detection and Compliance
CICS TS V4.1CICS TS V4.1
Publish Find
WebSphere Service Registry and Repository
WBE RuntimeEvaluations Correlations
!
CICS Events SupportPac 4Q08Full CICS events support 2Q09
Events
41
IBM
© Copyright IBM Corporation 2009
Evaluations Correlations
Event Sources
!
Know What to detect, When to Act and What to Do
Turning Insight into Action Leveraging Business Event Processing
What needs to be detected ? What needs to be detected ? When to Act ?When to Act ?
What to Do ?What to Do ?
© 2009 IBM Corporation42
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─ “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
Initiate the appropriate response─ 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.)
WebSphere Business EventsSense when to act … AND ACT!!
Event Definitions
Event Flow
Event Processing
© 2009 IBM Corporation43
Scenarios
Improved Customer Relationship Management
Improved Decision Support
Improved Self Service
– WebSphere 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.
© 2009 IBM Corporation44
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
Manager
Mashup
Catalogue
MashupMashupHubHub Operational
DataApplicationsBusiness ProcessesOperations
Systems Mgmt.
IBM Software Group | WebSphere software
45zWAS - CICS © 2009 IBM Corporation
Transform Insight into Action with CICS Events and WBE
CICS Application Algorithms
WebSphere Business Events
WebSphereBusiness Monitor
CICS TS Version 4.1
Business Occurrences
Business Information
Events
Key Business information can be externalized from criticalApplications as execution occurs to
• Immediately update business views• Trigger other business behaviours
NO APPLICATION CHANGE REQUIRED Business Professional
Business
LeaderWebSphere
Process Server
46
IBM
© Copyright IBM Corporation 2009
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
© 2009 IBM Corporation47