32
1 © Fujitsu Siemens Computers 2003 All rights reserved Anton Vorsamer / July 2003 Transactional Connectivity of Webservices with Mainframe Applications Anton Vorsamer Fujitsu-Siemens Computers Tel: +49 89 636 47524 Email: [email protected]

Transactional Connectivity of Webservices with Mainframe Applications

  • Upload
    bluma

  • View
    42

  • Download
    1

Embed Size (px)

DESCRIPTION

Transactional Connectivity of Webservices with Mainframe Applications. Anton Vorsamer Fujitsu-Siemens Computers Tel: +49 89 636 47524 Email: [email protected]. IT Scenario. Host Systems. Application Server. Web Client. Web Server. HTTP. internal Server ERP Systems. - PowerPoint PPT Presentation

Citation preview

Page 1: Transactional Connectivity of Webservices with Mainframe Applications

1 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

Transactional Connectivity of Webservices with Mainframe Applications

Anton VorsamerFujitsu-Siemens ComputersTel: +49 89 636 47524Email: [email protected]

Page 2: Transactional Connectivity of Webservices with Mainframe Applications

2 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

IT Scenario

HTTP + XML

HTTP

external Server

Web Server

Web Client

Host Systems

ApplicationServer

DB ServerPC Client

internal ServerERP Systems

Web Services

Page 3: Transactional Connectivity of Webservices with Mainframe Applications

3 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

J2EE Architecture 1.3

JMS

EJBContainer

EJB

EJB

WebContainer :

HTML/XML

Servlets+

JSPs

EnterpriseInformationSystems :

Legacy Applications

ERP Systems

Client

Client

Client

Client

ClientRelational Databases

MD

BConnectors

new

JDBC

Page 4: Transactional Connectivity of Webservices with Mainframe Applications

4 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

J2EE Architecture & BeanTransactions

JMS

EJBContainerBeanTA

EJB

EJB

WebContainerTomcat

Servlets+

JSPs

EnterpriseInformationSystems :

Legacy Applications

ERP Systems

Client

Client

Client

Client

Client

Host MQ

Relational Databases

ConnectorsM

DB

Connectors

JDBCBeanTransactions

Page 5: Transactional Connectivity of Webservices with Mainframe Applications

5 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

BeanTransactions Application Server

C++ , C

Web-Client

Standard Web Browser

Standard Web Server

SuiteSpot

Windows PC

UNIXWorkstation

Application

Terminal

Communications

Acc

es

s C

on

tro

l /

Tra

nsa

cti

on

al

Se

cu

rity

Application Server

UNIX

WindowsNT

Cobol

DBMS

JAVA Client

Page 6: Transactional Connectivity of Webservices with Mainframe Applications

6 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

openUTM and BeanTransactions

OSI-TP LU6.1 LU6.2 TCP/IP IIOP

Interoperability openUTM IBM CICS, IMS/DC, MQSeries OSI-TP Applications TCP/IP Applications SAP R/3 ...

C++ , C

Web-Client

Standard Web Browser

Standard Web Server

SuiteSpot

Windows PC

UNIXWorkstation

Application

Terminal

Communications

Acc

es

s C

on

tro

l /

Tra

nsa

cti

on

al

Se

cu

rity

Application Server

EnterpriseJavaBeansComponent

Cobol

DBMS

JAVA Client

UNIX

WindowsNT

Page 7: Transactional Connectivity of Webservices with Mainframe Applications

7 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

BeanTransactions (Connectivity)

ApplicationServer

FSC / BS2000

IBM / MVS

other e.g..Unisys over OSI-TP

Page 8: Transactional Connectivity of Webservices with Mainframe Applications

8 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

openUTM-Applicationserver

Transaction Synchronisation / Commmunication

Acc

ess

Co

ntr

ol EJBComponentEJB

ComponentEJBComponentEJB

Component

EJB Container

BeanTransactions : Connectivty Application Server

Connectors LU6 & OSI-TPsynchronous andasynchronous Messaging

CICS / IMS

OLTPService

openUTM

OLTPService

OSI-TP System

OLTPServiceTransactions

Page 9: Transactional Connectivity of Webservices with Mainframe Applications

9 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

// Business Methodspublic class openUTMBean implements SessionBean{ private openUTMConnectivity utm; private openUTMConnectivitySource utmserver;

// EJB Methods public void ejbCreate() { naming = new InitialContext(); utmserver = naming.lookup("java:comp/env/legacy/MyUtmConnect"); utm = utmserver.getConnection(); }

// Business Methods public String callUTM( String input ) { return utm.call(input); } }

“Builtin Connector” Bean

Page 10: Transactional Connectivity of Webservices with Mainframe Applications

10 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

// Business Methodspublic class openUtmJcaBean implements SessionBean{ private ConnectionFactory cf; // EJB Methods public void ejbCreate() { ic = new InitialContext(); cf = (ConnectionFactory)ic.lookup("java:comp/env/eis/myUtmConnect"); UtmJConnectJUpicInterface utm = (UtmJConnectJUpicInterface)cf.getConnection(); }

// Business Methods public String callUTM( String input ) { return utm.call(input); } }

JCA Connector Bean

Page 11: Transactional Connectivity of Webservices with Mainframe Applications

11 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

smsg = "4711 100.00 " //12345678901234567890send(smsg);rmsg = rcv();...balance = rmsg.substr(10,10);

Java / Cobol Program-Program Communication

01 MGET-MSG. 03 ACCOUNT-NR PIC 9(10). 03 AMOUNT PIC 9(10).

01 MPUT-MSG. 03 BOOKING-CODE PIC X(10). 03 BALANCE PIC 9(10)

Counting of byte positions Error proneDifficult manual change management

Page 12: Transactional Connectivity of Webservices with Mainframe Applications

12 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

01 MGET-MSG. 03 ACCOUNT-NR PIC 9(10). 03 AMOUNT PIC 9(10).

01 MPUT-MSG. 03 BOOKING-CODE PIC X(10). 03 BALANCE PIC 9(10)

Mget.Msg.setAccountNr(12345678);MgetMsg.setAmount(100.00);...send(MgetMsg);MputMsg = rcv();...MputMsg.getBalance();MputMsg.getBookingCode();

Java / Cobol Program-Program Communication

Access via names Same name = same informationTool supported change management (compiler)

Page 13: Transactional Connectivity of Webservices with Mainframe Applications

13 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

Mapping of Messagestructures

COBOLCopy

XMLDescr.

JavaClass

JavaSource

JavaCompiler

XSLT Script

Cobol / XMLCompiler

Page 14: Transactional Connectivity of Webservices with Mainframe Applications

14 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

HTTP

+XML

J2EE Access & Webservices

JMS

EJBContainer

EJB

EJBClient

Client

Client

Client

Client

WebContainer :

HTML/XMLSOAP

Servlets+

JSPs

RMI / IIO

P

RMI / IIOP

Client

Page 15: Transactional Connectivity of Webservices with Mainframe Applications

15 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

XML Access & Web Services

Platform independent data exchangeXML (eXtensible Markup Language)

Open standard No compiled data records / loosely

coupled contracts Standard JAVA interfaces available C and COBOL interface in openUTM

Page 16: Transactional Connectivity of Webservices with Mainframe Applications

16 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

Standard Web Services

Ubiquity. Web services communicate using HTTP and XML. Therefore, any device which supports these technologies can both host and access Web services.

Interoperability. Any Web service can interact with any other Web service. SOAP is the assumed protocol standard.

Low barrier to Entry. The concepts behind Web services are easy to understand and free toolkits from vendors like IBM and Microsoft allow developers to quickly create and deploy Web services. In addition, some of these toolkits allow pre-existing COM components and EJBs to be easily exposed as Web services.

Industry Support. All of the major vendors are supporting SOAP and the surrounding Web services technology. The Microsoft .NET and the Sun ONE platforms are based on Web services.

Page 17: Transactional Connectivity of Webservices with Mainframe Applications

17 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

Standard Web Services Challenges

Naming & Discovery ?WSDL (Web Services Definition Language) and UDDI (Universal Description, Discovery and Integration) are two new standards that promise to address this issue.

Security ? Transactions & State Management ?Reliability & Scalability ? Manageability ? Testing ?

Page 18: Transactional Connectivity of Webservices with Mainframe Applications

18 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

Standard Web Services (WSDL)

<?xml version="1.0"?>

<definitions name="HostConnect">

<message name="HostConnectInput">

<part name="TAC" element="xsd:string"/>

<part name="Input" element="xsd:string"/>

</message>

<message name="HostConnectOutput">

<part name="Output" type="xsd:string"/>

</message>

....

Page 19: Transactional Connectivity of Webservices with Mainframe Applications

19 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

Web Services Architecture

Publish

(UD

DI)

WSDL

ServiceProvide

r WebService

ServiceRequest

er

Find

(UDDI)

WSDL ServiceRegistry

Call(SOAP)

WebServiceDescriptions

Page 20: Transactional Connectivity of Webservices with Mainframe Applications

20 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

EJBs as Web Services

Make EJBs accessible as Web Service– Generate a WSDL Service Definition for a EJB

(.wsdl file)– Generate a Deployment Descriptor for

Apache AXIS (.wsdd file)Apache AXIS Server

– Serves the HTTP SOAP requests– Is the EJB client for BeanTransactions

Page 21: Transactional Connectivity of Webservices with Mainframe Applications

21 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

Apache Axis SOAP Server

BeanTA EJBJar archive

Script

Apache-AxisDeployment descriptor

.wsdd file

Web Servicedescription

.wsdlfile

Page 22: Transactional Connectivity of Webservices with Mainframe Applications

22 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

Web Server

SOAP Servlet

Java Client

JVM

Web Server

SOAP Client

WebBrowser

Direct Access of Host Services

distributedtransaction processing

LU6.x, OSI/TP

OLTP Server

ServiceProgram

openUTM

local DBMS

XA

Applicationerver

HTTP / SOAPconnection

OLTPconnection

UPIC

Page 23: Transactional Connectivity of Webservices with Mainframe Applications

23 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

Web Server

SOAP Servlet

EJBclient

JVM

Web Server

SOAP Client

WebBrowser

Indirect Access of Host Services (Applicationserver)

distributedtransaction processing

LU6.x, OSI/TP

OLTP Server

ServiceProgram

openUTM

local DBMS

XA

Applicationerver

Application Server

EJB

OLTPclasses

JVM

App. Server

local DBMS

XA

RMI / IIOPconnection

HTTP / SOAPconnection

OLTPconnection(LU6 / OSI-TP)

Page 24: Transactional Connectivity of Webservices with Mainframe Applications

24 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

CustomerSolutions

Page 25: Transactional Connectivity of Webservices with Mainframe Applications

25 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

citizen / tax advisor /citizen / tax advisor /companycompany

income taxincome taxsales taxsales taxtrade taxtrade tax......

Tax officeTax office

Tax return

Internet

Tax declaration

Page 26: Transactional Connectivity of Webservices with Mainframe Applications

26 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

Heterogeneous host systems in 16 countries (BS2000, MVS)

Companies /Authorities

Central data accessvalidation formattingauthentication at trust centercreation of printoutsdistribution to the countries

tax processing

Countries

WISOWISOeSteuer 2000eSteuer 2000

En

cryp

tio

nXML/https

XML/https

XML/https

ELSTER Architecture

Page 27: Transactional Connectivity of Webservices with Mainframe Applications

27 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

Kraftfahrtbundesamt / Flensburg Technical approval for vehicles

Control of inspection authorities and manufacturers

Central database of all:vehicles and vehicle owners drivers licensescentral registration of traffic offenders

Access for other authorities:Police of the countriesBKA (federal police)

Page 28: Transactional Connectivity of Webservices with Mainframe Applications

28 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

BS2000/OSD

overTCP/IP

UPIC

Web-Server

Servlets

BeanTransactionsJConnect

Admission offices

Police

XML / HTTP

HTML/HTTP

XML / HTTP

KBA Architecture

Page 29: Transactional Connectivity of Webservices with Mainframe Applications

29 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

BfA / Berlin Rehabilitation

Rente und Altervorsorge

Grundsicherung

ReHa Kliniken

Page 30: Transactional Connectivity of Webservices with Mainframe Applications

30 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

Booking

BfABS2000 / openUTM

ReHa (Host) Application

Ver

sch

lüss

elu

ngXML/https

XML/https

XML/https

BfA - Architecture

externeLeistungsträger

Page 31: Transactional Connectivity of Webservices with Mainframe Applications

31 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

Externalplatform

EISplatform

J2EEplatform

Web Service to Host Scenario

Web Server

Host Systems

ApplicationServer

DB Server

external Server,ERP Systems

Web Services

OLTP Services

Page 32: Transactional Connectivity of Webservices with Mainframe Applications

32 © Fujitsu Siemens Computers 2003All rights reserved

Anton Vorsamer / July 2003

State of the Art OLTP-TechnologyState of the Art OLTP-TechnologyState of the Art OLTP-TechnologyState of the Art OLTP-Technology