Hexagon Title Slide - GSE Belux

thingyvirginiaInternet και Εφαρμογές Web

30 Ιουλ 2012 (πριν από 5 χρόνια και 3 μήνες)

569 εμφανίσεις

© 2009 IBM Corporation
CICS
CICS Connectivity
Ronnie Simon
IBM BELUX - WebSphere
ronnie_simon@be.ibm.com
2
IBM
© Copyright IBM Corporation 2009
Built to Support Evolution!
Bus ine s s  
S ys te m s
Fro nt End
Browser
Server
Personal
Computer
"Dumb" Terminal
e-business
e-business with
Core Business
Systems
Client-Server
GUI Front-End
Terminal
Processing
Internet
Enterprise Network
Central Site
Web
Server
Appl.
Server
Personal Computer
T
im
e
A
p
p
lic
a
t
io
n
 
I
n
v
e
s
tm
e
n
t
 
P
r
o
t
e
c
t
io
n
C o re
Bus ine s s  
S e rvic e s
C o re
Bus ine s s  
S ys te m s
Applic atio ns
Rich Client
Rich Client
Business Systems
Databases
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
2
4
%

F
a
s
t
e
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 budget
if 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
Client
3270
Presentation
Integration
logic
Data
access
Transaction
D
I
P
Business
logic
B
IBM Software Group | WebSphere software
7
zWAS - 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
D
I/B
P
Transaction
I/B
P
Client
Link3270 Bridge
IBM Software Group | WebSphere software
8
zWAS - 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
D
B
P
Transaction
Client
A
A
I
P

Presentation logic

Integration logic
I

Business logic
B

Data access logic
D
CICS connectivity for SOA
IBM Software Group | WebSphere software
9
zWAS - CICS
© 2009 IBM Corporation
IBM Rational Developer
for 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 wizard
VSAM App Generator wizard
Generate 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
Existing
Business App

(e.g. COBOL, C, C++, PLI)
New service: WSDL
Bottom-up
Generate
Existing service
description WSDL
New
Business App (COBOL,

C, C++, PLI)
Top-down
Map and
Generate
Meet in the middle
Existing
Business 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 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

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
12
zWAS - 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
D
Integration
logic
I
A
SOAP
CICS TS
Web
service
Client
CICS
Web
services
support
Integration
logic
Data
access
Business Function
D
I
Business
logic
B
Requester
(Service Provider)
SOAP
A
CICS connectivity for SOA
13
CICS Transaction Gateway
CICS Transaction Gateway
CICS TS
CICS Program
Business
logic
B
CICS
Transaction
Gateway
CICS TG
Servlet, JSP,
EJB
WAS
J
2
C
Any Java
application
E
C
I
Many Languages,
Many Platforms
WAS=WebSphere Application Server
© 2009 IBM Corporation
14
WEBSPHERE APPLICATION SERVER
15
CICS Transaction Gateway
CICS 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
J
2
C
WAS=WebSphere Application Server
I
D
IBM Software Group | WebSphere software
16
zWAS - 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 TG
z/OS
Topology 1
Topology 3
Topology 2
System z
Service
Consumer
SOAP
CTG topologies
IBM Software Group | WebSphere software
17
zWAS - 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
J
C
A
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
18
zWAS - CICS
© 2009 IBM Corporation
CICS TS
CICS Program
Business
logic
B
Web
Service
Client
Other/Any
CICS TG
WebSphere
Application
Server Web
Service
Support
WAS
(any platform)
J
2
C
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
19
zWAS - 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)
J
2
C
Topology 2
DB2
EJB
SOAP
EXCI
IPIC
TCP
SSL

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
20
zWAS - 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)
J
2
C
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 Support
CICS Web Services Support


Transactional interoperation
Transactional 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
CICS
Web
Services
support
Business
logic
D
B
WebSphere
Application Server
(any platform)
Pipeline
VSAM
DB2
I
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)
J
2
C
CICS Transaction Gateway –
CICS Transaction Gateway –
Transactional
Transactional
interoperation
interoperation
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 Corporation
23
WEB 2.0
© 2009 IBM Corporation
24
Typical challenges faced by IT organisations and
the businesses they support
Number of users per application
# 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 Mashups
1

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 Hub
1

Lotus Widget Factory
1

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
Insurance
Customers and
Policies
Mainframe
Atom feeds
IBM Lotus
Mashups
Server
Unix
Servlet
© 2009 IBM Corporation
30
BUSINESS EVENTS
© 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
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 ?
When to Act ?
What to Do ?
© 2009 IBM Corporation
40
CICS Transactions
New! WBE Integration with CICS Transaction Server
Capture Mainframe Event Sources for Smarter Business Outcomes
Stock
Trades
WebSphere
Business Events
Events
Actions to
Investigate
suspicious activity
WebSphere
Business Monitor
Account
Activity
WebSphere
Process Server
Providing Real-Time Detection and Compliance
CICS TS V4.1
Publish
Find
WebSphere
Service Registry
and Repository
WBE Runtime
Evaluations
Correlations
!
CICS Events SupportPac 4Q08
Full 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 ?
When to Act ?
What to Do ?
© 2009 IBM Corporation
42

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 Events
Sense when to act … AND ACT!!
Event Definitions
Event Flow
Event Processing
© 2009 IBM Corporation
43
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 Corporation
44
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
Mashup
Mashup
Hub
Hub
Operational
Data
Application
s
Business
Processes
Operations
Systems Mgmt.
IBM Software Group | WebSphere software
45
zWAS - CICS
© 2009 IBM Corporation
Transform Insight into Action with CICS
Events and WBE
CICS
Application
Algorithms
WebSphere Business
Events
WebSphere
Business Monitor
CICS TS Version 4.1
Business Occurrences
Business Information
Events
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
Business
Professional
Business
Leader
WebSphere
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 Corporation
47