Anda di halaman 1dari 20

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

5.1
Copyright IBM Corporation 2008
Business Integration of IMS Assets
SOA
Copyright IBM Corporation 2008
IMS Built to Support Evolution!
Business Systems
Databases
Business
Systems
Front End
Browser
Browser
Browser
Web
Server
Appl.
Server
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
i
m
e

Core
Business
Systems
Applications
Copyright IBM Corporation 2008
IMS
Connect
Appl.
I
M
S

T
M
. . .
Appl.
IMS Database Manager DB2
IMS Message
Queues
APPC/MVS
VTAM
(LU0 LU1 LU2 LU6.1 LU6.2)
TCP/IP for zOS
z/OS
WMQ
Telnet
B
B
D D
MFS P
D
What assets in IMS can be accessed?
IMS Transaction
No presentation layer
Access to Resource Managers (RM)
IMS DB, DB2, MQ
Very simple design
Get Input Message
RM calls
ISRT Output Message

IMS Database
Hierarchical design
JDBC access
XML datastore

IMS MFS
Description of input and output
messages and device map
Not used in client/server
implementations
B
D
P
DB2
Stored
Proc.
WMQ
Copyright IBM Corporation 2008
DELIVERY
CHANNEL
WebSphere Application Server
I
N
T
E
R
F
A
C
E B
u
s
i
n
e
s
s

L
o
g
i
c

A
D
A
P
T
E
R
J
2
C
J
D
B
C
J
M
S
CICS
DB2
IMS/DB
EIS / DATA
Presentation Layer Business Logic Layer Data Access Layer
C
L
I
E
N
T
S

J2EE - 3-tiered Distributed Computing Architecture
IMS/TM
IMS
Connect
CTG
WMQ
Copyright IBM Corporation 2008
IMS Transactions - Connectivity Solutions
J CA Connector:
IMS Connect / IMS TM Resource Adapter
IMS
Connect
IMS TM
Resource
Adapter
TCP/IP
WAS
IMS
Appls.
O
T
M
A
IMS
DB
DB2
B D
B
WebSphere
Host Access Transformation Services
(HATS)
IMS
Appls.
IMS
TM
WebSphere
HATS
3270
WAS
IMS
DB
DB2
P
B D B
J MS Connector:
MQ to IMS Bridge
MQ-IMS
Bridge
(XCF)
MQ
JMS to
MQ
MQ Queues WAS
IMS
Appls.
O
T
M
A
IMS
DB
DB2
B D
B
SOAP Access:
IMS SOAP Gateway
IMS
Appls.
O
T
M
A
IMS
Connect TCP/IP
IMS SOAP
Gateway
IMS
DB
DB2
SOAP
B
B D
Copyright IBM Corporation 2008
WebSphere Application Server
Enterprise
Bean
IMS
Connector
for Java
Managers:

Transaction
Connection
Security
Web
Component
CCI
Application
Contract
SPI
System
Contracts
(z/OS, Windows, AIX,
Solaris, Linux, zLinux)
Java EJB/Servlet

IMS

IMS
Web
service
client
IMS SOAP
Gateway
HTTP / SOAP
Windows or AIX
IMS
Connect
User Exit
I
M
S

C
o
n
t
r
o
l

R
e
g
i
o
n

D
L
I

S
A
S

D
B
R
C

A
d
d
r
e
s
s

S
p
a
c
e

XMem XMem
IMS
User Exit
User Exit
O
T
M
A

XCF
IMS Connect The TCP/IP Gateway to IMS
Any TCP/IP Client
z/OS
IMS SOAP Gateway
XCF
XCF
IMS Control Center
(work station SPOC)
T
C
P
/
I
P
Local
Option
(for WAS on
z/OS)
or
Copyright IBM Corporation 2008
JCA IMS TM Resource Adapter



IMS Connector for Java
Provides connectivity to IMS Transactions
With an option to use a global transaction scope between the 2 business
logic parts (distributed Two-Phase Commit)
From any WebSphere platform, zOS or distributed with J2EE Quality
of Services

IMS
Connect
IMS TM
Resource
Adapter
TCP/IP
WAS
IMS
Appls.
O
T
M
A
IMS
DB
DB2
B D
B
Copyright IBM Corporation 2008
JCA - IMS Resource Adapter
z/OS
z/OS
Linux for z/OS
Windows / AIX / Solaris /
Linux
and z/OS
WebSphere
Application
Server
IMS TM
Resource
Adapter
WebSphere
Application
Server

IMS TM Resource
Adapter
WebSphere
Application
Server
IMS TM
Resource
Adapter
IMS
TCP/IP
XCF
XCF
IMS
IMS
IMS
Connect
IMS
Connect
IMS
Connect
B D
B D
B D
Local
Copyright IBM Corporation 2008
MFS Web Enablement
Enables MFS transactions to be run from
HTML devices
Uses Websphere Application Server, IMS TM
Resource Adapter and IMS Connect at run
time
Includes two
sample style
sheets
MFS Web
Enablement
servlets
loads Stylesheet
WAS
MFS Web Enablement Adapter
XMI
Repository
DEV MSG
Byte
stream
Output
Record
Input
Record
IMS
Connector for
Java
IMS
Connect TCP/IP
IMS
Appls.
O
T
M
A
IMS
DB
DB2
B D
Copyright IBM Corporation 2008
Java Message Service Access to IMS Transactions
WMQ IMS Bridge
Transfers the message to the
unchanged IMS transaction.
Transfers the output message to the
Reply_To_Queue.




MQ Trigger Monitor
Run as an IMS application which use
MQ API to call the business logic
program.

Trigger Monitor is a real MQ-based
application which allows some additional
processing outside of the IMS
application

MQ
Trigger
Monitor
MQ
JMS to
MQ
MQ Queues WAS
B
CICS or IMS
Transaction
B
IMS
DB
DB2
D
MQ
Bridge
Copyright IBM Corporation 2008
WMQ IMS Bridge
Code in the WMQ for z/OS Queue Manager
IMS can act as a server
IMS can act as a client when a transaction issues ISRT ALTPCB
An OTMA client
For specially defined queues, it will take the messages off the MQ
queue and send them to IMS using the IMS OTMA interface
IOPCB output is routed back to the Reply-to Queue
Reply-to Queue Manager in the original MQ input message MQMD
ALTPCB output can also be routed to MQ queues
MQ
IMS
IMS
DB
DB2
D
MQ
Bridge
MQ
MQPUT TO_QC

Commit

MQGET WAIT


MQGET REPLYQ
Commit
Xmit
Reply
B
QC
MPP

GU IOPCB



ISRT IOPCB
B
O
T
M
A
Copyright IBM Corporation 2008
Web Services Involving IMS
Artifacts that can be registered as
Web Services
Java Beans and EJBs
IMS transaction access
IMS DB access via JDBC/ODBA
Scripted flows
DB2 Stored Procedures
Another way of getting to execute an
IMS transaction thru OTMA Callable
interface
Another way of getting at IMS Data
Bases via ODBA


An IMS transaction
can not itself be
deployed as a Web
Service.
You actually write or
generate a component
that can be deployed
as a Web Service
such as an EJB and
this in turn calls the
IMS transaction.
Copyright IBM Corporation 2008
IMS
Connect
z/OS
Windows / AIX /
Solaris
WebSphere Appl.
Server

Bean
WebSphere Appl. Server
Bean
IC4J
Through WAS
from any WebSphere platform
z/OS or distributed
with J2EE Quality of Services
using IMS TM Resource Adapter
(IC4J)
using MQ IMS Bridge

Through IMS SOAP Gateway
using IMS Connect
WMQ for
z/OS
JMS
IC4J
Windows / AIX / Solaris
WAS
Bean
JMS
WMQ
XCF
IMS SOAP Gateway
Windows/AIX
SOAP
Request
P
B
e.g. Java,
.NET, SAP
IMS
Appls.
O
T
M
A
IMS
DB
DB2
B D
Web Services Involving IMS
Copyright IBM Corporation 2008
IMS SOAP Gateway
Web service
client
(.NET, SAP,
java, etc.)
IMS SOAP
Gateway
IMS
IMS
Connect
z/OS
WSDL
(web service
definition
language)
HTTP / SOAP
TCP/IP / XML
Windows
SOAP Envelope
with XML message
XML message
XML
Transformer
(COBOL)
Correlation
data
(IMS Connect
address,
LTERMname,
etc)
Rational
Developer
for zSeries

COBOL Copy
Book (input
and output
messages)
IMS
message
Copyright IBM Corporation 2008
IMS Callout Support
IMS Applications can call an external application

IMS application uses ALTPCB to insert
asynchronous message to clientID
New OTMA descriptor (or OTMA exits) queue message to
client on IMS Connect
Can be generic IMS Connect with super member

Remote EJB, using alternate client support, listens
for messages for the clientID (using RESUME
TPIPE)
IMS TM Resource Adapter passes messages to EJB

Alternatively, IMS TM Resource Adapter can
exploit JCA 1.5 Inbound processing
Passes message to Message Driven Bean, that in turn
calls an EJB or Web Service

Another Txn
EJB /
Web Service
IMS
IMS
Application
z/OS
Any
platform
Callout
Initiating
Client
IMS Resource
Adapter
Copyright IBM Corporation 2008
IMS Databases JDBC Connectivity Solutions
IMS
DB
O
D
B
A
WAS zOS
+ JDBC
Driver
IMS
Distributed
JDBC
RMI/
IIOP
WAS
IMS
DB
Using WebSphere Classic
Federation
WebSphere
CF JDBC or
ODBC Client
IMS
DB
D
R
A
WebSphere
Classic
Federation
TCP/IP
IMS
DB
IMS
DB
O
D
B
A
WAS zOS
+ IMS JDBC
IMS
DB
From WAS on z/OS using IMS J DBC
IMS
DB
O
D
B
A
DB2
Stored
Procedure

JDBC
RMI/
IIOP
WAS
IMS
DB
Thru DB2 Stored Procedure
From Distributed WAS using
IMS Distributed J DBC
CUSTOMER
BILL
COMMAND
ARTICLE
PRODUCT
CUSTOMER
BILL COMMAND
PRODUCT
ARTICLE
B
D
B
B
B
B
D
D
D
Copyright IBM Corporation 2008
Any Application using
RRS
Any Application
using RRS
D
B
R
C

DLISAS
IMS DBCTL
or TM/DB
Managed by zOS RRS
ODBA
Services
Access to IMS Data - Open Database Access (ODBA)

Provides a callable interface to IMS
databases from any zOS programs
that are not managed by IMS
DB2 Stored Procedures
or Any applications that use zOS
Resource Recovery Services (RRS)
to manage their syncpoint processing
Connection to IMS TM or DBCTL
Uses the Database Resource
Adapter (DRA)
DL/I calls are issued using the
Application Interface Block (AIB)
interface
Copyright IBM Corporation 2008
Access to IMS Data - IMS Java
A set of classes which...
Offers Java support to access IMS
Databases from various environments
(IMS, CICS, DB2, WebSphere)
Enables SQL access through the JDBC
interface
Rapid Application Development
Extend the life and scope of IMS
applications and databases
Leverage existing marketplace,
industry-sanctioned standards - they
are the slowest changing and most
persistent
JDBC and J2EE are standards
Leverage new and abundant skills
in the marketplace and mitigate the
loss of 390 skills for customers

CEETDLI Interface
JNI
Base
A
p
p
DB
JDBC / SQL
Customer Code
IMS Java Class Library
C Layer Interface to IMS
IMS DB Metadata
Business Logic
Mapping to DL/I
APIs
IMS Dep. Region
Transaction and
Message Processing
JDBC, JCA interface Java to C interface
IMS Java
App
DLI
Database
View
Copyright IBM Corporation 2008
COPYLIB
PSBs
DBDs
CEETDLI Interface
JNI
Base
A
p
p
DB
JDBC / SQL
IMS Java
App
DLI
Database
View
Stored
Procedure
EJB
JCICS
IMS DB
CEETDLI Interface
JNI
Base
A
p
p
DB
JDBC / SQL
IMS Java
App
DLI
Database
View
J ava Virtual Machine
J ava Virtual Machine
J ava Virtual Machine
CEETDLI Interface
JNI
Base
A
p
p
DB
JDBC / SQL
IMS Java
App
DLI
Database
View
EJB
J ava Virtual Machine
Classic Federation
JDBC Client
CEETDLI Interface
JNI
Base
A
p
p
DB
JDBC / SQL
IMS Java
App
DLI
Database
View
IMS JDBC
ResourceAdapter
CEETDLI Interface
JNI
Base
A
p
p
DB
JDBC / SQL
IMS Java
App
DLI
Database
View
DRA
ODBA
Access to IMS Data Outside of IMS Transactions
Copyright IBM Corporation 2008


SOAP
IMS - Helping Customers Build their SOA
Simplify access to existing backend systems
Seamlessly integrate distinct enterprises
B2B data exchange
Modernizing IMS Transactions and data
XML, SOAP/Web Services to access IMS transactions
IMS XML data storage
Distributed access to IMS data
Easing Integration
WebSphere and J2EE compliant application server
Designed to support open integration technologies
Support collaboration among IMS and other
components, both within and beyond enterprise
boundaries

Core Business applications are critical to
enterprise customers

Anda mungkin juga menyukai