70
IMS and SOA Deepak Kohli IMS SOA Solutions Support [email protected]

SA_IMS_SOA_Seminar_-_IMS_and_SOA

Embed Size (px)

Citation preview

Page 1: SA_IMS_SOA_Seminar_-_IMS_and_SOA

IMS and SOADeepak KohliIMS SOA Solutions [email protected]

Page 2: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 2

Important Disclaimer

THE INFORMATION CONTAINED IN THIS PRESENTATION IS PROVIDED FOR INFORMATIONAL PURPOSES ONLY.

WHILE EFFORTS WERE MADE TO VERIFY THE COMPLETENESS AND ACCURACY OF THE INFORMATION CONTAINED IN THIS PRESENTATION, IT IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.

IN ADDITION, THIS INFORMATION IS BASED ON IBM’S CURRENT PRODUCT PLANS AND STRATEGY, WHICH ARE SUBJECT TO CHANGE BY IBM WITHOUT NOTICE.

IBM SHALL NOT BE RESPONSIBLE FOR ANY DAMAGES ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO, THIS PRESENTATION OR ANY OTHER DOCUMENTATION.

NOTHING CONTAINED IN THIS PRESENTATION IS INTENDED TO, OR SHALL HAVE THE EFFECT OF:

• CREATING ANY WARRANTY OR REPRESENTATION FROM IBM (OR ITS AFFILIATES OR ITS OR THEIR SUPPLIERS AND/OR LICENSORS); OR

• ALTERING THE TERMS AND CONDITIONS OF THE APPLICABLE LICENSE AGREEMENT GOVERNING THE USE OF IBM SOFTWARE.

Page 3: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 3

IMS Challenges

Connectivity– Need a way for both transactions and data to be exposed for

integration into enterprise applications– Bi-directional access between IMS and distributed platforms

Data Representation– Need to be able to easily share IMS data despite language,

platform dependencies– No change (or small change) to existing assets

Application Development– Mainframe skills (e.g. COBOL and PL/I) are becoming increasingly

harder to find– Need to keep up with industry languages and support emerging

application development tools

Page 4: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 4

IMS SOA solutions

Leverage on standards– SOAP, HTTP, XML, XQuery, WS-*, Java EE/JCA

SOA access to both IMS TM and DB

Protect existing IMS assets and encourage new IMS development– Leverage and reuse existing IMS transaction and data

Ease integration with other products and appliances– Microsoft .Net, SAP, etc...

Integrate with other IBM solutions– DataPower and WebSphere servers– Rational and WebSphere tooling

Enable our customers to continue to leverage IMS as an integral part of their enterprise in the evolving business world through the addition of support for complimentary standards surrounding IMS

connectivity, data representation, and application development

Page 5: SA_IMS_SOA_Seminar_-_IMS_and_SOA

© 2008 IBM Corporation

Banking Center of Excellence

55

IMS SOA Integration Suite

IMS TM IMS DB

IMSSOAP

Gateway IMS TMResourceAdapter

IMS DBResourceAdapter

MFS Web Solutions

IMS DLIModelUtility

*IMS Open DB And Universal JDBC Drivers

IMS XQuery

COBOL PL/I C Java MFS

WebSphere

IMSWeb 2.0Solutions

Service Oriented Architecture (SOA)Web Services, SOAP, XML, Java, SCA/SDO, XQuery, Web 2.0

XML DataDLI Data

*IMS Connect API

* - Denotes upcoming functions

Page 6: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 6

Access to IMS transactionsSOA solutions for IMS TM

Page 7: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 7

Architecture Foundation – IMS Connect

A capability that provides connectivity support between TCP/IP applications and IMS transactions – Integrated into IMS V9– Configured on a z/OS server

Benefits and Value– Supports TCP/IP sockets access to IMS transactions and commands – Provides a general purpose and structured interface– Provides a strategic base for new IMS SOA technologies

IMSAIMS Connect

IMSB

VTAM

TCP/IP

Java Applet

BROWSER Web Server

COMTIVisual BasicPowerBuilder...

Web Server program

Websphere

CobolAssemblerC/C++Java

Page 8: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 8

Customer example – IMS Connect

Who?– One of the world’s largest package companies

Situation– Wanted to enable web access to their IMS systems to track

packages

Solution– Leveraged IMS Connect and created server programs that issued

direct TCP/IP calls send/receive messages from IMS– 50 – 110 million transactions a day through IMS Connect

Page 9: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 9

IMS TM Resource Adapter (previously known as IMS Connector for Java)

WebSphere Application Server / WebSphere Process Server

IMS TMIMS TMresourceresourceadapteradapter

WebService

TCP/IP

WebComponent

EnterpriseBean

IMS Connect

IMS DB (includes XML data)

IMS

IMS App

WebSphere-based, Java Connector Architecture (JCA/J2C) Resource Adapter that allows IMS connect to external systems – Enable J2EE application, Web Service, SCA, SOA Composite

application/Choreographed service (BPEL process) to access existing IMS transactions

IMS and SEPA compliance– Integrate with WebSphere Transformation Extender support complex data

formats, e.g. SEPA, SWIFT (financial services), HIPAA (healthcare), and EDI (cross-industry), etc.

WebSphere Transformation Extender (WTX) or WebSphere Message Broker (WMB)

IMS TMIMS TMresourceresourceadapteradapter

Page 10: SA_IMS_SOA_Seminar_-_IMS_and_SOA

© 2008 IBM Corporation

Banking Center of Excellence

10

Web Service Enablement with WebSphere and IMS TM Resource Adapter

IMS

TM

Resource

Adapter

J2C

Wizard

Input/Output

Data Binding

J2C Java Bean

Web Service

(WSDL File)

EAR

deploy

Rational Application Developer

IMS AppSource

DevelopmentDevelopment

SOA clients

IMS Connect

IMS DB & XML DB

IMS

IMS App

WebSphere Application Server

IMS TMIMS TMResourceResourceAdapterAdapter

Web Service

Test and RuntimeTest and Runtime

Web Service

Page 11: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 11

IMS TM Resource Adapter features

Supports J2EE Connector Architecture (JCA) 1.0 & 1.5

• Runs in WAS/WPS/WTX/WMB on Windows, Solaris, AIX, Linux, zLinux, z/OS, HP-UX• CCI API for standalone Java apps

Supports various types of interactions and programming models with IMS– JCA/J2C, SCA, BPEL/Choreography,

EMD– Invokes IMS transactions or commands

• Conversational and non-Conversational• Multi-segment messages• COBOL, PLI, MFS, C, Java

– Send Recv, Send Only– Retrieve Asynchronous output

• Purge, Reroute• Single no wait, single wait• Alternate Client ID

– Commit mode 1 or 0 processing – SyncLevel none or Confirm

Connection Management– Connection pooling– TCP/IP and Local Option connections– Handles execution or socket timeouts

Transaction Management– Global z/OS RRS transaction support and

Distributed XA transaction support with Two Phase Commit (i.e. SyncLevel Syncpt)

Security Management– J2EE EIS Sign-on– SSL, RACF key ring– Password Change

Enhancements in complex environment– Sysplex distributor environment– zWAS 64 bit support

Provides Rapid Application Development– RSA, RAD, WID, RDz

Page 12: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 12

Customer example – IMS TM Resource Adapter

Banking– Large Canadian Bank

• 3 IMS sysplexes in production, processing 50 million transactions a day

– Situation• Needed to reuse the bank's extensive IMS assets as components to

deliver new financial services and extend client reach• Needed to maintain high availability and throughput in the new IMS

profile

– Solution• Evolving IMS in a growing portfolio of new applications for the branch

platform and mission-critical "e" channels since 2002– 18 IMS Connect instances, and growing IMS TM Resource Adapter

applications in 3 WebSphere Application server for z/OS sysplexes in production now

– Rational Application Developer for Java development

Page 13: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 13

IMS SOAP Gateway

A direct Web Service solution for IMS– Light-weight web service support

• No not need Java EE server (e.g. WebSphere Application Server) – Integrate IMS assets into SOA using Web Service and SOAP interface– XML transformation in IMS Connect

• Handles XML data with no change in IMS application– Supports industry web service standards

• HTTP(S), SSL, SOAP 1.1, WSDL 1.1, WS-I BP 1.0

RationalDeveloper for System z

IMS application source

WSDL, Correlator

Converters

Generates

Page 14: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 14

XML Conversion Support

XMLAdapter

For COBOL

AdapterTask

Manager

COBOLConverters

IMS Connect

HWSSOAP1Exit routine

XML converter routines

– Cobol / PLI source code•Provide the information needed to perform conversion from tagged data to a byte stream

–Unique to each message definition•Can be generated by RDz toolkit

– Compiled and bound into file that is concatenated into IMS Connect STEPLIB

Without converter routines in IMS Connect

– IMS application will need to perform the conversion

Presenter
Presentation Notes
Repeat of XML conversion
Page 15: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 15

IMS SOAP Gateway Example

IMS SOAP Gateway IMS Connect

XMLAdapter

IMS

XMLAdapter

XML

XML XML

XML

Appl formatAppl format

Appl format

Appl format

….IVTNO DISPLAY LAST1

GU. IOPCB…ISRT, IOPCB

….ENTRY WAS DISPLAYED DISPLAY LAST1

FIRST18-111-11111D01 / R010001

<cbl:OUTPUTMSG xmlns:cbl=“http://www.XCNVI.com/schemas/XCNVIInterface”>

<out_ll> 093</out_ll><out_zz> 000</out_zz><out_msg> ENTRY WAS DISPLAYED</out_msg><out_cmd>DISPLAY</out_cmd><out_name1>LAST1</out_name1>

<?xml version=“1.0”?><INPUTMSG><in_ll>32</in_ll><in_zz>0</in_zz><in_trcd>IVTNO</in_trcd><in_cmd>DISPLAY<in_cmd><in_name1>LAST1</in_name1></INPUTMSG> 01 INPUT-MSG.

02 IN-LL PIC S9(3) COMP.02 IN-ZZ PIC S9(3) COMP.02 IN-TRCD PIC X(10). 02 IN-CMD PIC X(8).

01 OUTPUT-MSG.02 OUT-LL PIC S9(3).02 OUT-ZZ PIC S9(3)..02 OUT-MSG PIC X(40). 02 OUT-CMD PIC X(8).

Page 16: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 16

Customer – IMS SOAP Gateway

Who?– A global car and equipment manufacturing company

Situation– Allow their factory devices to send status to IMS– Direct access from Microsoft .NET applications to IMS applications

Solution– IMS SOAP Gateway on z to provide direct Microsoft .NET access

to IMS transaction

Page 17: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 17

IMS MFS Web Solutions

Modernize MFS-based IMS transactions

Revitalize existing assets with total cost reduction– 3270 emulator and VTAM are no longer required

MFS SOA Support– Transform MFS based IMS transactions as Web services via

Rational Application Developer (RAD) & WebSphere Application Server (WAS)

MFS Web Enablement– Render displays on new modern devices, extending the use of

MFS without modifying existing applications– Web browser & WebSphere Application Server– Cell phones (requirement)– PDAs (requirement)

Page 18: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 18

IMS MFS SOA Support

Message Formatting Service SOA is designed to provide a systematic approach of transforming existing MFS-based IMS application into MFS J2C Services

Enables MFS-based IMS transaction to be accessed from the web and reusable for many B2B scenarios

MFS ReverseUtility Tool

(optional)

MFS Source

XML schema (XSD)

XML schema (XSD)

E A R

WSDLJSP

MFS SOA EMD Wizard

EJB

DEPLOY

MFS SOA ServicesWebSphereApplicationServer

IMSCONNECT

IMS

Page 19: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 19

IMS MFS Web Enablement

Provide B2C solution to web-enable existing MFS-based IMS business logic.

Maintain conversational iterations.

Render displays on new modern devices, e.g. browsers

OTMA

IMS VTAMMFS

OnlineProcessor

MPP/IFP/BMP/JMP

MFS-basedTransactionalApplicationProgram

IMS Connect

loads Stylesheet

WebSphere Application Server

MFS Web Enablement Adapter

OutputRecord

InputRecord

IMS Resourceadapter

MFS WEBEnablementservlets

streamDEV MSG Byt e

Page 20: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 20

Customer example – MFS web services

Avnet– Electronics distributor

• Mainly MFS-based with IMS and Oracle DB installations– Situation

• Had to independently access their Oracle and MFS-based transactions• Needed an integrated Web services-based application to access both

– Solution• MFS SOA support

“a better application at a lower cost-- and certainly more sustainable” Avnet

Page 21: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 21

IMS customer can then remix and mashup their data rapidly with IBM Web 2.0 offerings to extend their business logic without the need to write a single line of code.

IMS and Web 2.0 – IMS Web 2.0 Solution Rapidly Extend Business Logic

Customers can extend their IMS investment by converting an IMS transaction into a RESTful service or feed, which can be aggregated with other Web 2.0 services

IMS feed Inventory and

branch locations

Other web feed

Google Mapsfeed

Page 22: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 22

IBM Mashup Center IMS and Web 2.0 – Unleash and Reshape IMS

Integrate your existing IMS assets into Web 2.0 mashup solutions

Contains InfoSphere MashupHub and Lotus Mashups– Transform IMS Cobol and PL/I transactions into REST services/feeds– Mashup maker with many built-in widgets (e.g. URL/XML/RSS Viewer, Google Map,..)

Demo on YouTube: http://www.youtube.com/watch?v=nbognkeU_sI

GA06/30/2008

Page 23: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 23

Upcoming IMS V10 SPE - IMS Connect API

Provide API to simplify use of IMS Connect by RYO applications – Currently, RYO client developers must understand intricacies of IMS

Connect headers (IRM, CSM, RSM, etc.) and message protocols– Intended for all customers who write client applications that interact

directly with IMS Connect (IMS Connect clients that do NOT use IMS TM Resource Adapter or IMS SOAP Gateway)

IMS Connect API will – Shield customers from dealing with IMS Connect headers and

protocols as well as TCP/IP sockets programming– Allow RYO client developers to configure an interaction by setting

attributes values which describe the type of interaction to be performed

– Execute interaction with Connect and return response to client

Goal is to support all available IMS Connect functionality in stages

Page 24: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 24

Other Solutions for accessing IMS TM

Page 25: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 25

3270 Emulation

Benefits and value– Straightforward and simple

• Traditional IMS communication model – Leverages standard TCP/IP Telnet (TN3270) capabilities

IBM’s Host Integration Solution - Host Access Transformation Server (HATS) – Out of the box - transforms 3270 data streams to HTML

• Provides customization and access to multiple hosts – Access provided as Java Applets or as Host Servlets– Supports the creation of Web Services

WebSphere Studio/ RAD

IMS

TCP/IPTelnet VTAM

Page 26: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 26

Messaging and Queuing

WebSphere MQ (MQSeries) – Supports the use of MQ API

• Remote program is not sensitive to the network type– MQ provides its own high-level standard API– Same applications can be deployed on TCP/IP or SNA

– Supports the use of JMS (Java Message Service) API • Messaging standard that allows application components based

on J2EE to create, send, receive, and read messages

Local Q Transmission Q

MQNETWORK (VTAM LU 6.2 or TCP/IP)

MQ callsRemote Application

MQ on z/OS

MQ Bridge...MQ calls XCF callsMQ calls

IMSOTMA

GU, IOPCB...ISRT, IOPCB

NETWORK (VTAM LU 6.2 or TCP/IP)

MQ IMS Adapter – uses the IMS ESS interface- Supports the use of explicit MQ calls

in the IMS application

MQ IMS Bridge– uses the OTMA interface- Takes advantage of the DL/I call

interface in the IMS application

Page 27: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 27

And then there is DataPowerIBM SOA appliances are purpose-built hardware that simplify, accelerate and help secure XML Web services for SOA

XA35 XML Accelerator–Offloads overtaxed servers by processing XML,

XSD, XPath and XSLT at wire speed –SW provides significant performance

improvements over WebSphere solutions–HW + SW provides enterprise-class performance

Add: DataPower XML Security SW

Add: DataPower XML Integration & existing

systems connectivity SW XS40 XML Security Gateway–Security, agility and performance–Device can off-load application security software–Performs XML Web services security functions

(parse, filter, validate schema, encrypt/decrypt, signatures, access control, and more)

XI50 Integration Appliance–Expands support to non-XML solutions–Advanced architecture–Integrated message-level security

Page 28: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 28

DataPower …

IRM Request

IMSConnect

IMS application(Cobol,, etc.)

MQ client

OTM

A IMS

MQ IMSBridge

IMS Connectclient

OTM

A IMS

IMS application(Cobol,, etc.)

AND more importantly:

– An MQ client

– An IMS Connect client

DataPower 3.6.1 – Available December 2007

ftp://ftp.software.ibm.com/software/websphere/integration/datapower/WSB11353-USEN-00.pdf

Page 29: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 29

All in AllMany vendors, many solutions - Good News for IMS !!!

• Crossplex e3270 Emulation - SofTouch Systems Inc.http://www.softouch.com/cpx_prod/index.html#

• HOBLink TE - https://webshop.hob.de/scripts/produkte.php• Host Access Transformation Services – IBM

http://www.ibm.com/software/webservers/hats/• Jacada - http://www.jacada.com• Resqnet - http://www.resqnet.com• Web 390 for OS/390 and MVS - Information Builders

http://www.informationbuilders.com/products/web390/pdf/web390.pdf

• Attachmate - Synapta Services Builder for IMShttp://www.attachmate.com/NR/rdonlyres/2FFC7D0A-9744-4996-

95CE-18AFCEC0B4F7/0/tp_ssb_transactionaccess.pdf • Comporsys Connector for IBM IMS

http://www.comporsys.de/pdf/connector,ims,datasheet(en).pdf• Microfocus Mainframe Express (MFE) IMS Connect interface

http://www.microfocus.com/mfnewsletter/20040601_004.asp• MicroSoft Transaction Integrator

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/his_2004main/htm/his_planning_for_transaction_integrator_node_gphi.asp

• NetManage OnWeb Connectors http://www.ftp.com/products/pdf/datasheets/OnWeb_Connectors2_3- 05.pdf

• SeeBeyond e*Way Intelligent Adapter for IMS http://goldstar.seebeyond.com/support/support/docs/4.5.4/e

Way_Intelligent_Adapters/IMS_eWay_Monk.pdf

• IONA Mainframe Integrator for IMS - http://www.iona.com• iWay Adapter for IMS/TM

http://www.egeneration.com/iwaydocs/iway55/5.5.001/iw55_ims.pdf• Sybase XJS 390 Enterprise Integrator 3.8

http://www.sybase.com/detail?id=1018620• webMethods 6 Mainframe Integration - http://www.webmethods.com• BMC Energizer for IMS Connect - http://www.bmc.com/ • IMS Connect Extensions - http://www.fundi.com.au/pr_ims_ce.html• Seagull LegaSuite for IMS

http://www.seagullsoftware.com/products/ims/runtime-architecture.html

• Oracle Access Manager for IMShttp://www.wisc.edu/drmt/am4ims.htmlhttp://www.oracle.com/technology/products/gateways/pdf/amims.pdf

• MQ offerings -http://www-306.ibm.com/software/integration/mqfamily/directory/

bridges.html11• IBM – IMS Connect

http://www-306.ibm.com/software/data/ims/connect/index.html• IBM – MQ Bridge - http://www-306.ibm.com/software/integration/wmq/• BEA eLink Adapter for Mainframe TCP - BEA Systems

http://e-docs.bea.com/elink/mainfram/tcp/v32/pdf/tuxug.pdf• NEON Systems Shadow Interface™ for IMS/TM - Neon Systems Inc.

http://www.neonsys.com• IMS Server Adapter OTMA Plug-IN – IONA (uses OTMA C/I)

http://www.iona.com/support/docs/orbix/mainframe/6.0/ims_admin/OTMAConfig2.html#302847

• Attunity Connect – http://www.attunity.com/Products/AttunityConnect.Asp• eWay™ Intelligent Adapters 5 - SeeBeyond

http://www.seebeyond.com/software/eway.asp• GT Software - Ivory Data Access

http://www.gtsoftware.com/content.asp?page=IMS%20or%20DL/1%20Data%20

• AccessIMS Adapter for Sonic ESB - Sonic Softwarehttp://www.sonicsoftware.com/products/docs/adapter_esb_ims.pdf

• Informatica PowerExchange for IMShttp://www.informatica.com/products/powerexchange/supported_platforms/ims/infa_px_ims_120204.pdf … and many more

Page 30: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 30

IMS Access to SOAIMS as a Service Consumer to access external resources

Page 31: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 31

IMS

IMSApplication

z/OS

CALLOUT

InitiatingClient

ExternalApplication

anyplatform

IMS V10 – IMS as an Integration Focal Point

IMS applications can access other environments and data

Enables IMS applications as clients to interoperate with web services outside IMS

– Better integration of IMS applications for SOA

Enhances integration of IMS transactions as Web services for conversational composite business applications

– Maximizes re-use of IMS applications for rapid business innovation and reduced costs

Presenter
Presentation Notes
IMS as Integration Focal Point is evolving. One of the key customer requirements that we have heard regarding SOA support for IMS is for Callout support, where an IMS application could call out to another application across the IMS TM Resource Adapter to WebSphere server applications or to SOAP application environments. IMS Callout support enables IMS applications as clients, interoperating with business logic outside of the IMS environment. This support includes correlation mapping between the callout request and the external application, enhanced security, and assistance on destination routing. This support allows for better integration in an SOA environment. For example, an application may need to know the current stock price, or may need to look up the current sales tax rate. Callout support will be provided for IMS 10, first as an asynchronous transaction and later as a synchronous call where the IMS application will wait for the response before continuing.
Page 32: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 32

Enables IMS application to act as a client to asynchronously invoke J2EE applications and Web Services– Callout to J2EE apps (e.g. EJB) and Web Services using WebSphere

Application Server and IMS TM resource adapter– Callout to Web services using IMS SOAP Gateway– Callout to other apps

IMS V10 Asynchronous Callout

IMS

IMS App 1

z/OSInitiating

ClientIMS TM RA

SOAPGateway

EJB

Web Service

WebSphere ApplicationServer

Web Service

IMS App 2

(ISRT ALTPCB)Request

Response

HoldQ

XMLAdapter

IMSConnect

OTM

A R

outing D

escriptors

Other Apps

Presenter
Presentation Notes
Page 33: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 33

IMS 10 SPE - Synchronous Callout

Enables IMS application to act as a client to invoke Web Services provider, Java EE (e.g. MDB/EJB) and RYO (e.g. SAP) applications

Synchronously receive output back in the same IMS transaction instance

Presenter
Presentation Notes
The synchronous callout function is a V10 SPE item that specially address the need for IMS application to act as a client to go outbound synchronously to invoke external application and receive the output back. This enhancement allows your IMS application to invoke one of the following external applications and synchronously get the output back: (1) an J2EE application (like an Enterprise Java Bean/EJB or an Message Driven Bean (MDB)) or Web service providers running in the WebSphere Application Server using the IMS TM Resource Adapter (2) other Web service providers (e.g. like Microsoft .NET or SAP XI) using IMS SOAP Gateway (3) any other applications (like RYO, SAP apps) using the IMS Connect interfaces This diagram gives you a very high-level overview of the synchronous callout SPE. The red arrow represents the send flow. From the right hand side of the diagram, an IMS application makes a DLI call to send out a synchronous callout request. The OTMA descriptor function inside IMS routes the callout request via IMS Connect to invoke one of the outbound destination as shown in the boxes on the left – i.e. the WebSphere, Web Services or RYO applications. After the callout request has been processed, the output data would be returned back to the same IMS transaction instance as shown in the blue arrows.
Page 34: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 34

Synchronous Callout Highlights

New IMS DLI ICAL call for synchronous callout request and response

Leverage existing IMS and industry standard protocols

Provide management of the correlation and allows concurrent processing

Enhanced operation commands to view synchronous callout status and stop callout processing

Timeout value to terminate callout request and free the IMS dependent region

Support messages larger than 32K without having user application to handle segmentation

Page 35: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 35

And.. other Solutions for calling out from IMS

Page 36: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 36

Other Solutions

Websphere MQ/MB/ESB

– MQ API calls in IMS applications can participate in solutions provided by WebSphere Message Broker and the ESB (enterprise service bus)

• Transforms messages formats between MQ applications and web services

WebSphere Message Broker WebSphere Event Broker

WebSphere MQ (including JMS)

Transformation, Routing and Data Integration

- Provides an ESB solution- Powerful engine for message/data transformationand integration

- XSLT engine for XML transformation- Web services (HTTP/SOAP) protocol support

MQPUT

MQGET

IMS/ COBOl pgm WebSphere MQ WebSphere Message Broker V6x

Transformationengine

XMLMQ MSG

WebSphere Application Server

Web service

Page 37: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 37

Other Solutions …

“SQL CALL” to DB2 stored procedures– IMS application program must include logic to

• Set the host variables prior to executing the CALL• Handle any error conditions returned by the stored procedure

– References• SG24-7083 DB2 for z/OS Stored Procedures: Through the CALL and Beyond

– Chapter 24.4 - Accessing DB2 stored procedures from IMS • SG24-7064 WebSphere for z/OS V6 Connectivity Handbook

– Chapter 13.2 - Calling a web service from DB2

IMS application

01 aaa PIC X(30).01 bbb…….

EXEC SQL:CALL MYPROC ( :aaa

, : bbb)

END_EXEC.

DB2

Storedprocedure

WebSphere Application Server

Web service

UDFs - user defined functions

Page 38: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 38

Other Solutions …

IMS Java application capabilities– Java applications can directly invoke a web service

• JAX-WS• Direct socket connection to machine hosting the service

– References• SC18-7821 IMS Java Guide and Reference • SG24-7064 WebSphere for z/OS V6 Connectivity Handbook

– Chapter 14 - Connecting to WebSphere from IMS using SOAP

WebSphere Application Server

Web service

IMS JMP

Java program

Page 39: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 39

IMS and IBM SOA FoundationIMS and WebSphere/Rational development family

Page 40: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 40

IMS & the IBM SOA Foundation

Rational Application DeveloperWebSphere Integration DeveloperRational Developer for System z1

WebSphere Application Server & XDWebSphere Process ServerWebSphere Message BrokerWebSphere Transformation Extender

Rational Software Architect WebSphere Service Repository Registry2

IMS DB Resource AdapterIMS TM Resource Adapter IMS SOAP Gateway

IMS MFS SOAIMS MFS Web EnablementIMS DLI Model Utility3

F

F - Future Requirement

F

IMS Info 2.0

Presenter
Presentation Notes
Notes: 1- Two free copies of Rational Developer for System z for use with IMS V10 & IMS SOAP Gateway V10 2- WSRR capability with IMS TM Resource Adapter is via the use of the WID tooling or the WSRR Eclipse plug-in 3- IMS DLI Model Utility is run as a separate plug-in to Eclipse, Rational Application Developer (RAD), Rational Developer for System z (RDz)
Page 41: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 41

IMS application

IMS application

IMS application

*MFS, *PL/ISource

CSource

COBOL CopybookCOBOL

Copybook

IMS TMResourceAdapter

IBM Rational Application Developer (RAD)

Easy-to-use application development tool

Graphical and source editors

Modernize your IMS application– Parse existing IMS

application source and generates Web app, EJB and Web Service

– No need to change IMS application

IMS App Source(COBOL, PLI, MFS, C)

Page 42: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 42

IBM WebSphere Integration Developer (WID)

Simplify and accelerate the development of integrated applications

Implements Service Component Architecture (SCA) technology and business process choreography

Industry-standard service- oriented architecture

IMS TMResourceAdapter

Page 43: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 43

Rational Developer for System z (RDz)

Application development tool for modernizing and developing System z application

Support for IMS SOAP Gateway– Web Service Provider scenario

• Generate WSDL, XML converters and correlator files from COBOL/PLI source files

– Web Service Consumer scenario• Generate XML converters,

correlator files from COBOL source and Web Service WSDL files

Support for IMS Info 2.0– Generate correlator and XML converters from COBOL/PLI source files

Also includes features from RAD (e.g. IMS TM RA tooling)

** Unwarranted two complimentary copies of RDz 7.1.x for IMS V10 users

Page 44: SA_IMS_SOA_Seminar_-_IMS_and_SOA

© 2008 IBM Corporation

Banking Center of Excellence

4444

IMS SOA Integration Suite

IMS TM IMS DB

IMSSOAP

Gateway IMS TMResourceAdapter

IMS DBResourceAdapter

MFS Web Solutions

IMS DLIModelUtility

*IMS Open DB And Universal JDBC Drivers

IMS XQuery

COBOL PL/I C Java MFS

WebSphere

IMSWeb 2.0Solutions

Service Oriented Architecture (SOA)Web Services, SOAP, XML, Java, SCA/SDO, XQuery, Web 2.0

XML DataDLI Data

*IMS Connect API

* - Denotes upcoming functions

Page 45: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 45

Access to IMS dataSOA solutions for IMS DB

Page 46: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 46

IMS DBDRAODBA JMP JBP

Java Virtual MachineIMS DB Resource Adapter

JCICS

Java Virtual Machine

IMS DB Resource Adapter

Stored Proc

Java Virtual MachineIMS DB Resource Adapter

EJB

Java Virtual MachineIMS DB Resource Adapter

Access to Data

Direct Connection (database) interfaces– DRA interface (Database Resource Access)

• Traditional DBCTL interface– ODBA interface (Open DataBase Access)

• Callable interface to IMS DB

IMS SOA Integration Suite– Java support in IMS, IMS DB Resource Adapter, DLI Model Utility,

IMS XML DB, etc..

z/OS

Page 47: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 47

Java support in IMS Write IMS application in Java and more…

IMS dependent regions for Java (JMP and JBP)– JMP access to IMS message queues, IMS and DB2 databases– JBP access to IMS, DB2 as well as GSAM databases

Access from IMS database from– IMS dependent regions, WAS z/OS and distributed, CICS, DB2 stored

procedures

Language interoperability– Ability for Java and OO COBOL to invoke one another within the same

transaction

DB2 interoperability– Allow the use of either the DB2 JDBC or SQLJ– DB2 and IMS activity in the same unit of work– Return IMS data to a DB2 Java stored procedure encapsulated in a DB2

result set

Java TM and DB API– IMS message queue processing, program switching, etc

JDBC driver for IMS– SQL access to IMS Data

Page 48: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 48

Customer example – IMS Java API

Who?– German bank

• Mainly PL/I based with conversational transactions

Situation– Purchased 3rd party credit checking technology as part of a Java

package• Replaced existing PL/I-based transaction

– Wanted to deploy this in a Java Dependent Region and integrate with existing PL/I applications

• Just another service…

Solution– Leverage the deferred program switching support already in IMS

(and supported within the Java class libraries) to switch conversation iterations from MPP to JMP regions and back

– In production within a month with this solution

Page 49: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 49

JDBC (Java Database Connectivity)

Defines a standard Java API for accessing databases

Provides an API for sending SQL statements to a relational database and processing the tabular data returned– Wait a minute…IMS is hierarchic– More on this later

JDBC application model– Establish and open connection to database– Execute query and obtain results– Process results– Commit the results– Close connection

Provides application interoperability

Page 50: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 50

SQL and IMS

SQL is an extremely powerful query language– Designed to be usable for all database types– Multiple ways to write queries that return the same

results• Can prove costly with inefficient queries

– IMS JDBC supports subset of SQL syntax• Limit function to what IMS DBMS can do natively

Page 51: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 51

IMS DB Resource Adapter

IMS provides a JCA resource adapter for deployment in a WebSphere Application Server runtime– There is also an IMS TM resource adapter that provides J2EE

platform access to existing IMS transactions

JCA interaction ultimately provides the application with a JDBC Connection to an IMS DB– A direct connection to an IMS database– Applications can directly query and manipulate IMS database

information using JDBC with both SQL and XQuery

Page 52: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 52

Features

Supports J2EE Connector Architecture (JCA) 1.0

Connection Management– Connection pooling

Supports various types of interactions and programming models– JDBC

• SQL and XQuery support– Java for DLI

Security Management– RACF for authentication– ODBA does additional check for PSB (database) authorization

Transaction Management– Global z/OS RRS transaction support

Multi-platform support– Runs in WebSphere family of 31 and 64 bit application servers

Page 53: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 53

JDBC access to IMS DB with DB Resource Adapter

WebSphere z/OS and IMS Java support

z/OS

WAS for z/OS

EJB(JDBC calls)

EJB(JDBC calls)

IMSDB

(ODBA)

IMSDB

(ODBA)

IMS DBResourceadapter

IMS DBResourceadapter

HTTPServer

WAS for z/OS

EJB(CM)EJB(CM) IMS DB

(ODBA)IMS DB(ODBA)

IMS DBResourceadapter

IMS DBResourceadapter

EJB(BM)EJB(BM)

Client sideEJB

application

Client sideEJB

application

DistributedIMS DB

Resourceadapter

DistributedIMS DB

Resourceadapter

z/OS

WAS Distributed

CM: container managed (supports global transaction semantics)BM: bean managed (supports local transaction semantics)

IMS DB(ODBA)

IMS DB(ODBA)ODBMODBMEJB

applicationEJB

application

UniversalIMS DB

Resourceadapter

UniversalIMS DB

Resourceadapter

z/OS

WAS Distributed or z/OS

Support with IMS V9 – IMS Java Remote Data Services

Support with IMS V11 – IMS Open Database and Universal JDBC Driver

IMS ConnectIMS

Connect

Page 54: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 54

IMS V11 IMS Open Database

Leverage and expose IMS data in a distributed topology– Enable creation of services that expose IMS data to distributed

platforms • PSB authorization still applies!

Distribution of database assets comes in two flavors– Distribution within an IMS plex

• Applications on one LPAR can access an IMS database on another LPAR

– Distribution to non-zSeries platforms• Applications on a non-zSeries platform can have direct IMS DB

access without needing an IMS transaction to proxy the data

IMS Connect will be the gateway to IMS DB as well as TM

Page 55: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 55

IMS V11 Open Database

LPAR A

LPAR B

LPAR C

IIOP

z/OS

Distributed

J

C

A

1.5

T

C

P

I

P

WebSphere

IMS DBCTL

IMS

PC

WAS z/OSTCPIP

WAS z/OS

S

C

I

TCPIP

IMS Connect

S

C

I

TCPIP

S

O

A

P

ODBA

S

C

I

TCP/IP

IIOP

PC

XCFIMS DBCTL

IMS

PCS

C

I

ODBA

IMS DBCTL

IMS

PCS

C

I

ODBA

S

C

I

ODBA

ODBMCurrent Solution

Roll Your OwnTCP/IP

Evolution of ODBFinal ODB Solution

JDBCTCP/IP

Page 56: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 56

Customer example – IMS DB RA

Who?– One of the world’s largest public corporations by revenue

Situation– Wanted to move to a web-based J2EE model in order to manage

internal inventory across their 4 regions in the United States

Solution– Leveraged the IMS DB resource adapter in order to develop

Enterprise JavaBeans that could access the target IMS databases directly

– WebSphere Application Server for z/OS V5

Page 57: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 57

IMS XML Database Support

Introduces a way to view/map native IMS hierarchical data to XML documents– Aligns IMS Database (DBD) with XML Schema

Allows the retrieval and storage of IMS Records as XML documents with no change to existing IMS databases

Enables query of IMS data using XQuery

XML Documents

IMSData

book

@year

title

seq

pricepublisherchoice

author

last first

seq

editor

last first

seq

affiliation

xs:date

xs:string

xs:string xs:string xs:string xs:string xs:string

xs:string xs:decimal

XML Schema

TITLE PUBLISH

FIRSTLAST FIRST

0:oo0:oo

AUTH EDIT

BOOK

YEAR PRICE

LAST AFFIL

PCB: BIB21

IMS DBD

Page 58: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 58

IMS XML Database Support

Storage and retrieval of XML Documents– Composition of XML documents from existing IMS databases– Creation of IMS segments from XML documents (decomposition)– Intact storage of XML Documents (without decomposition)

IMS JavaApplication

IMS DBXML Document

XML Schema

<?xml version=‘1.0’?><customer xmlns=‘http://www…/PSB/PCB’><cust> …<name> … </name> </cust>

<?xml version=“1.0”’encoding=“UTF-8”?><xsd:schema xmlns:xsd= ……<xsd:element name=“cust”>…

WAS for z/OSEJB(CM)EJB(CM) IMS DB

(ODBA)

IMS DB(ODBA)IMS DB

Resourceadapter

IMS DBResourceadapter

EJB(BM)EJB(BM)

Client sideEJB

application

Client sideEJB

application

DistributedIMS DB Resourceadapter

DistributedIMS DB Resourceadapter

z/OSJava application that stores/retrieves XML documents can run in a distributed environment

WAS Distributed

Page 59: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 59

Further aligns IMS with industry direction – XML, SOA, Web Services, etc.

More natural fit for hierarchical data querying

Enables customers to leverage emerging standard skill set

Enhanced product and tooling integration

Our IMS XML solution has a 38+ year head start

Immediately usable with no migration of existing IMS data

DataData

ContentContent

Informationas a ServiceInformationas a Service

XQuery support in IMS V10

Page 60: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 60

XQUERY - an evolvingstandard API designed to query and format XML data

IMS XQUERY processor- Extends IMS XML DB- Uses XML schemas generated by DLIModel

XML document

IMS DB XML APIs<xsd:annotation>

<xsd:appinfo><ims:DLI mode="store"

PSB=“MYPOPSB" PCB=“MYPOPCB"<xsd:element name=“A”><xsd:element name=“field1"

…DLIModel Generated XML schema

<B><f1> </f1><f2> </f2><f3> </f3>

<B>

SELECT retrieveXML( B)FROM PCB CWHERE C.FIELD….

XML CLOB

<B><f1> </f1><f2> </f2><f3> </f3>

<B> <xsd:annotation><xsd:appinfo>

<ims:DLI mode="store" PSB=“MYPOPSB" PCB=“MYPOPCB"<xsd:element name=“A”><xsd:element name=“field1"

…DLIModel Generated XML schema

AAf1(x)

BBB1

C1

D1B2

C2f6(Y)D2

IMS DB

SELECT retrieveXML( B,‘for $x in /Bwhere $x/@f1 = zreturn <namelist>

{$x/B/f4}</namelist>’)

FROM PCB CWHERE C.FIELD…

IMS V9 XML API

IMS V10 XQUERY API

Note: Segment Names ~ Table NamesSegment Instances ~ Table RowsField Names ~ Column Names

Presenter
Presentation Notes
You can issue SQL calls against IMS data We will process and return Dealer and model segment, each segment we view as relational table The nice thing about the support is SQL as industry standard. Ability to access IMS without needing to know about IMS. Low skill set required. V9 and V10 updates
Page 61: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 61

V10 SPE IMS DB web services

Provide ability to expose a database query as a callable web service– Tooling support generates

• Deployable ear file• WSDL

ConfigEAR

DLIModel Utility

Types Interface Binding Service

WSDL

WebSphere Application Server

Page 62: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 62

DLIModel Utility

IMS database visualization tool– Visualize an entire IMS PSB– Can view each PCB individually

• Hierarchy, segments, fields, types, etc

IMS database metadata generation tool– Generates the necessary metadata that

is consumed at runtime by IMS DB Resource Adapter, XML-DB support

• Database metadata• XML schema

Bottom up tooling approach– Parses PSB and DBD source– Optionally COBOL copybook

definitions of segments

An Eclipse 3.x plug-in

Page 63: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 63

Database Visualization (UML View of the Database Metadata)

Page 64: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 64

AND …

Other IBM Solutionsfor accessing IMS DB

Page 65: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 65

Information Integration

Websphere Classic Federation Server for z/OS

– Integrates access to a variety of resources• ODBC, JDBC access to IMS data

– Read and update access to IMS DB using JDBC and ODBC• Access to IMS transactions

DB2 UDBfor z/OS

Software AGAdabas

VSAM CA IDMS

CA Datacom

IMS

MetadataCatalog

ASP Servlet Servlet Client Class

EJB

AIX, HP-UX, Solaris,

Linux, Wintel JDBC Client

Portal

ODBC client

WebSphere Classic

Federation Server for z/OS

•http://www-306.ibm.com/software/data/integration/iicf/support.html

BI Tool

Page 66: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 66

Pushing Data Out

IBM solutions – IMS Architecture capability – Data Capture Exit

• Supports – Synchronous capability

• Extension to the IMS application as an exit routine (no change to application)

• ISRTs ALTPCB, db calls, MQ calls, Socket calls, etc. – Asynchronous capability

» Data Capture Log records – x’99’– WebSphere Classic Event Publisher for IMS (5655-M38)

• Leverages the IMS Data Capture architecture– Captures changes made to IMS files using an IMS logger exit

• Captured changes are reformatted into a relational data format – The relational format data is packaged as a self-describing XML

message – The XML messages are published to WebSphere MQ

Page 67: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 67

We

b S

erv

ice

.NET Client

Client Developer

Application developer

SAP Client

Web service clients

Java/J2EE Client

Java dev

Direct Database access

Developers

Java /J2EE Developer

CICS Developer

DB2 Developer

Java class Library

DirectSOAP

IMS SOAP Gateway

RDz

Solutions

WID RAD

IMS TM Resource Adapter

MFS Web Services

WebSphere

Solutions

DLI Model Utility

DLI Model Utility

DB2 SP/CICS

Java class

Library

Java class

Library

WebSphere

IMS DB Resource Adapter

IMS

Database

IMS C

onnect

OD

BA

/DR

ASQL

XQueryDL/I

DL/I

SOAP

TCP/IP

Java class Library

Transaction manager

IMS APP

Database manager

IMS SOA solutions - Summary

DLI Model Utility

No additional cost for IMS licensed users

Web 2.0Mashup

Business / IT user

HTTP

RE

ST

Se

rvic

e

InfoSphereMashupHub

WebSphere

IMS Web 2.0

Solution

Page 68: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 68

Final Thoughts

With SOA you are looking to build a reuse culture

All roads lead to the people– Everybody gets involved in SOA – need to work across

organizations

SOA is a journey, not a one-time project that a single department implements

Corporate-wide process– Leverage technology in a way that reflects the business’s

key business processes– Enable business to change when needed without being

constrained by IT

IBM (and IMS) are here to support you every step of the way

Page 69: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 70

How Do I Get It?

IMS SOA Integration Suites– http://www.ibm.com/software/data/ims/toolkit/

• IMS TM resource adapter • IMS DB resource adapter and JDBC driver (information)• IMS XML DB (information)• IMS DLIModel utility • IMS MFS Web support • IMS SOAP Gateway

IMS – FMID for DB resource adapter, JDBC driver, and XML-DB support

• IMS V8 (JMK8806)• IMS V9 (JMK9906), also includes XML-DB support• IMS V10 (JMK1016), also includes XQuery support

IMS Info 2.0– IBM Mashup Starter Kit is available on both IMS and IBM Alphaworks

website• http:/www.alphaworks.ibm.com/tech/ibmmsk

– IMS Info 2.0 demo video on YouTube• http://www.youtube.com/watch?v=BWJGSC-RyXQ

Page 70: SA_IMS_SOA_Seminar_-_IMS_and_SOA

p. 71

How Do I Get It? …

Rational Application Developer http://www.ibm.com/software/awdtools/developer/application/index.html

WebSphere Integration Developer http://www.ibm.com/software/integration/wid/about

Rational Developer for System z http://www.ibm.com/software/awdtools/rdz