java auf dem mainframe mit ibm websphere application...
TRANSCRIPT
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 1. ====!"§==Systems=
Java auf dem Mainframe mitIBM WebSphere Application Serverfür z/OS und OS/390.
Bernd KunrathCompetence Center Application Integration andMiddleware
T-Systems, debis Systemhaus GmbHFasanenweg 11D-70771 Leinfelden-Echterdingen
Tel.: +49/711/972-3645Fax: +49/711/972-1622E-Mail: [email protected]: [email protected]
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 2. ====!"§==Systems=
Java auf dem Mainframe mitIBM WebSphere Application Serverfür z/OS und OS/390.
Abstract■ IBM WebSphere Application Server für
z/OS und OS/390 ist IBMs ‚EnterpriseClass‘ Implementierung für Java unterOS/390 und seinem Nachfolger z/OS.
■ Wo liegen die Vor- und Nachteile Java aufdem Mainframe oder besser ‚EnterpriseServer‘ zu betreiben, was kann man von derPlattform erwarten und was nicht.
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 3. ====!"§==Systems=
Java auf dem Mainframe mitIBM WebSphere Application Serverfür z/OS und OS/390.
Agenda■ Einführung■ Kurzer Produkt Überblick■ Warum Java unter OS/390?■ Benutzte OS/390 Technologien,
Besonderheiten unter OS/390■ Anbindung an vorhandene
Systeme wie CICS, IMS, SAP■ Resümee
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 4. ====!"§==Systems=
Einführung.e-business & OS/390 & Java undApplication Integration.
e-business und OS/390 Technologie wird einer der wichtigstenPunkte innerhalb der nächsten Monate:
■ Robert M. Stephenson, Vice president IBM Server Group:„e-business means when your server is down, you‘re out ofbusiness.“
■ Charlie Burns, analyst at Giga Information Group Inc. Houston:„A typical mainframe operation looking at implementing e-business, must choose to connect existing applications to theWeb or go to a new platform and recreate and reinvent as muchas 30-years' worth of business applications.“
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 5. ====!"§==Systems=
Java auf dem Mainframe mitIBM WebSphere Application Serverfür z/OS und OS/390.
Agenda■ Einführung■ Kurzer Produkt Überblick■ Warum Java unter OS/390?■ Benutzte OS/390 Technologien,
Besonderheiten unter OS/390■ Anbindung an vorhandene
Systeme wie CICS, IMS, SAP■ Resümee
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 6. ====!"§==Systems=
IBM WebSphere Application Server.Editions für 3.5 unter NT, AIX, Sun,HPUX, Linux (INTEL & S/390)
H TM L
Javaapplet
brow ser
Javaapplication
desktop
server
H T M LX M L
Javaapplication
an
y H
TT
P S
erv
er
an
y H
TT
P S
erv
er
Co
mp
on
en
t Bro
ke
rC
om
po
ne
nt B
rok
er
StandardE dition
E nterpriseE dition
Servlets
JSP s
BO s
Java 2Java 2
ServicesServicesJava 2Java 2
ServicesServices
A dvancedE dition
Java 2Java 2
ServicesServices
Servlets
JSP s
EJBs
EJBs
SE V3.5 Feature�JSP 1.1. �Servlet 2.2.�JDK 1.2 (Java2).
EE V3.5 Feature�AE +�CORBA.
AE V3.5 Feature�JSP 1.1, Servlet 2.2�JDK 1.2 (Java2).�EJB 1.0.
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 7. ====!"§==Systems=
IBM WebSphere Application Server.Editions für 3.02/3.5 unter OS/390
HTML
Javaapplet
browser
Javaapplication
desktop
server
HTMLXML
Javaapplication
enterpriseinformation
systems
IBM
HT
TP
Se
rver fo
r OS
/39
0IB
M H
TT
P S
erve
r for O
S/3
90
Co
mp
on
en
t Bro
ke
rC
om
po
ne
nt B
rok
er
StandardEdition
EnterpriseEdition
Servlets
JSPs
EJBs
BOs
Java 1Java 1
ServicesServicesJava 1Java 1
ServicesServices
SE V3.02/3.5 Feature�JSP 1.0/1.1, �Servlet 2.1/2.2.�JDK 1.1.8+/JDK 1.3.
EE V3.02 Feature�CORBA-based programming model.�Preliminary support for EJB 1.0.
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 8. ====!"§==Systems=
IBM WebSphere Application Server.Edition für 4.0 unter OS/390
W ebSphere J2EE ContainerH TM L
Javaapplet
brow ser
Javaapplication
desktop
server
H TM LXM L
Javaapplication
enterpriseinformation
systems
Java 2 EE Platform Java 2 EE Platform(JDK, JTS, JTA, JM S, JDBC, JNDI, RMI/IIOP, XML, ...)(JDK, JTS, JTA, JM S, JDBC, JNDI, RMI/IIOP, XML, ...)
An
y H
TT
P S
erv
er
An
y H
TT
P S
erv
er
Servlets JSPs EJBs
V4.0 V4.0 V4.0 V4.0 FeaturesFeaturesFeaturesFeatures•J2EE levels of JDK, Servlet, JSP, EJB (consistent with „family“).•Common container for Web and EJB components.•Additional elements of the J2EE platform.•Common tooling for all WebSphere platforms.•Plus continued support for CORBA objects.•„Family“ will be available week 27/2001.
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 9. ====!"§==Systems=
Java auf dem Mainframe mitIBM WebSphere Application Serverfür z/OS und OS/390.
Agenda■ Einführung■ Kurzer Produkt Überblick■ Warum Java unter OS/390?■ Benutzte OS/390 Technologien,
Besonderheiten unter OS/390■ Anbindung an vorhandene
Systeme wie CICS, IMS, SAP■ Resümee
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 10. ====!"§==Systems=
WebSphere Application Server.Java auf Mainframe?
■ Availability, Scalability, Security, Clustering Technology, etc ...■ Hohe Integration und Nähe zu den vorhandenen Daten und
Anwendungen - “Objekte”, “Code Reuse”.■ Entwicklung: Nutzen moderner Entwicklungsweisen und
Werkzeugen plus Nutzung bestehender “Enterprise ApplicationServer” alias “Mainframe”.
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 11. ====!"§==Systems=
WebSphere Application Server.Heterogenes versa homogenes Umfeld.
Vorteile eines homogenen OS/390Umfeldes, gegenüber einesheterogenen Platform Umfeldes:■ Hohe Verfügbarkeit■ Skalierbarkeit■ Nachgewiesene, durchgängige
Sicherheit■ Weniger Hardware/Komponenten■ Einfacheres ‘deployment’■ Einfacheres ‘Systems Management’
WebWebWebWebBrowseBrowseBrowseBrowse
rrrr
NTNTNTNTUnixUnixUnixUnix
ApplicationServer
OS/390OS/390OS/390OS/390
IMSCICSIDMSDB2
BackendSystems
ApplicationServer
OS/390OS/390OS/390OS/390
IMSCICSIDMSDB2
BackendSystems
WebWebWebWebBrowseBrowseBrowseBrowse
rrrr
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 12. ====!"§==Systems=
Java auf dem Mainframe mitIBM WebSphere Application Serverfür z/OS und OS/390.
Agenda■ Einführung■ Kurzer Produkt Überblick■ Warum Java unter OS/390?■ Benutzte OS/390 Technologien,
Besonderheiten unter OS/390■ Anbindung an vorhandene
Systeme wie CICS, IMS, SAP■ Resümee
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 13. ====!"§==Systems=
OS/390 Application Server.Security propagation.
WebSphereAS Working
Thread
CICS TSEXCI
UserId
UserId
Userid des client wird ‘propagated’■ process level■ thread (TCB) level
MVS und OS/390 Unix Identität wirdauf die des client gesetzt.■ Security environment kann für
Zugriff auf Ressourcen benutztwerden eg. DB2, CICS, ...
■ ‘Durchgeben’ vonUserId/Password durch dieApplication Server Anwendung zuZielsystemen nicht notwendig.
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 14. ====!"§==Systems=
OS/390 Application Server.Scalable Web-/Application Server.
■ Server arbeitet mit OS/390workload management (WLM).
➨ Queue Manager packtAnwendungs Requests in WLMapplication queues.
➨ WLM startet Queue Server nachBedarf.
■ Performance goals abhängig vonder Arbeit URL.
■ Erhöhen der Verfügbarkeit, durchdas Isolieren von kritischenAnwendungen.
WASQueue Server
WLM
Port 80
Port 443
WASQueue
Manager
register
WASQueue Server
start
. . .. . .. . .. . .
. . .. . .. . .. . .
. . .. . .. . .. . .
WorkQueues
Put work Put workPut work
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 15. ====!"§==Systems=
OS/390 Application Server.Session clustering!
DB2
tables
WebSphere AS
System A
DB2
WebSphere AS
System B
DB2
CF
NetworkDispatcher
Network
Session Objects
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 16. ====!"§==Systems=
Java auf dem Mainframe mitIBM WebSphere Application Serverfür z/OS und OS/390.
Agenda■ Einführung■ Kurzer Produkt Überblick■ Warum Java unter OS/390?■ Benutzte OS/390 Technologien,
Besonderheiten unter OS/390■ Anbindung an vorhandene
Systeme wie CICS, IMS, SAP■ Resümee
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 17. ====!"§==Systems=
Application Integration.VisualAge for Java Enterprise 3.5.3EAB & CCFEnterprise Access Builder (EAB)■ Werkzeug zur Generierung von Java Klassen um CCF Connectors
nutzen zu können, z.B. aus COBOL copybook.Common Connect Framework (CCF)■ Einheitliche Interaktion mit einem EIS.■ IMS, CICS, SAP R/3, HOD, MQSeries, Encina, C++, ...■ Unterschiede in Behandlung von Transactions und Security!■ „ConnectionSpec“, „InteractionSpec“, „Record“, „Command“
orientiertes Paradigma.J2EE Connectors (JCA - J2EE Connector Architecture)■ Sehr ähnlich zur CCF■ „Connection“, „InteractionSpec“, „Record“, „ix.execute“■ Beta in Fixpack VisualAge for Java EE 3.5.3
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 18. ====!"§==Systems=
Application Integration.VisualAge for Java Enterprise 3.5Edition: EAB & CCF Sample code
com.debis.sxt.ims.ivtno.Command cmd = (com.debis.sxt.ims.ivtno.Command)java.beans.Beans.instantiate(null, "com.debis.sxt.ims.ivtno.Command");
....cmd.setInMsgRecord1IN__LL((short) 59);cmd.setInMsgRecord1IN__ZZ((short) 0);cmd.setInMsgRecord1IN__TRCD("IVTNO ");cmd.setInMsgRecord1IN__CMD("DISPLAY");cmd.setInMsgRecord1IN__NAME1("Last1");cmd.setInMsgRecord1IN__NAME2("");cmd.setInMsgRecord1IN__EXTN("");cmd.setInMsgRecord1IN__ZIP("");cmd.execute();Object bean = cmd.getOutput();if (java.beans.Beans.isInstanceOf(bean, OutMsgRecord.class) == true) { System.out.println("\nOuput from IVTNO is..." + "\nNAME1: " + cmd.getOutMsgRecord1OUT__NAME1() + "\nNAME2: " + cmd.getOutMsgRecord1OUT__NAME2() + "\nZIP: " + cmd.getOutMsgRecord1OUT__ZIP() + "\nSEGNO: " + cmd.getOutMsgRecord1OUT__SEGNO());......
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 19. ====!"§==Systems=
Application Integration.IMS to OTMA Connector (ITOC)
IMS
OT
MA
TCP/IPOTMA
Connection
DATA
User Exit
User Exit
IMS Web Client
IMS TCP/IP Client
Any TCP/IP Client
XCFTCP/IP
IMS Client for Java
OS/390
TRAN
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 20. ====!"§==Systems=
Application Integration.CICS Transaction Gateway (CTG)
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 21. ====!"§==Systems=
Application Integration.Network Computing Interface (NCI).
HTTP or SSL
HTTPServer
JavaApplet
or Application
Browser
NCI Bean
Servletor JSP NCI Bean
NCI Communication
ManagerTCP/IP
OS/390OS/390OS/390OS/390ClientClientClientClient
File systems
OS/390 resources
MQSeries
IMS
CICS
DB2
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 22. ====!"§==Systems=
Java auf dem Mainframe mitIBM WebSphere Application Serverfür z/OS und OS/390.
Agenda■ Einführung■ Kurzer Produkt Überblick■ Warum Java unter OS/390?■ Benutzte OS/390 Technologien,
Besonderheiten unter OS/390■ Anbindung an vorhandene
Systeme wie CICS, IMS, SAP■ Resümee
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 23. ====!"§==Systems=
WebSphere AS für OS/390.Resümee.
Java unter OS/390■ Zukunftsträchtige Programmierumgebung/Runtime.■ Entwicklungsumgebung z.B. Windows/Runtime OS/390.■ „Portierung“ ist oft ein simples kopieren (deployment), z.B.
MQClient Klassen, Oracle JDBC Treiber, ServiceCenter GatewayServlet, Samples, etc...
■ Hohe Gesamtperformance durch Integration von Tiers.■ Monitoring, Logging, RAS noch nicht auf OS/390 Niveau.
WAS OS/390 V 3.5 (Keep it simple!)■ Einfach zu etablierende und benutzbare Runtime für HTML,
Servlet, JSP, JDBC - kein Support für EJB oder J2EE Spec.■ Günstige Softwarelizenz, läuft aber zugunsten von WAS 4.0 aus
der Wartung.
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 24. ====!"§==Systems=
WebSphere AS für OS/390.Resümee.WAS OS/390 V 4.0 (Erfahrungen aus Beta program)■ Neue, komplexe, CB/390 basierende runtime.■ Verspricht hoch skalierbar und stabil zu sein.■ Verspricht Integration in OS/390 (via WLM) und
Transaktionsmanager (via RRS).■ Performance eines EJBs konnte im Rahmen der Beta nicht
beurteilt werden, Beispiel war nicht lauffähig.■ Kosten weit höher als für WAS OS/390 V 3.5 SE.■ Neueste Releases von OS/390, DB2, evtl. IMS/CICS nötig; was
weiteren Aufwand und Softwarekosten aufwirft.■ Zur Familie nicht konsistente Administrationsmethode; eigene
GUI, eigenes Aktivierungskonzept, somit separateBetriebskonzepte notwendig.
■ Produktiveinsatz kann heute anhand unserer Erfahrungen nichtempfohlen werden.
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 25. ====!"§==Systems=
WAS für OS/390 und z/OS.Web Ressourcen.
IBM OS/390 & z/OS■ http://www.s390.ibm.com/os390/
Dokumentation zu WAS 390■ http://www-
4.ibm.com/software/webservers/appserv/library_390.html
WebSphere V 4.0 Launch■ http://www-4.ibm.com/software/webservers/appserv/
Mini Java Benchmark■ http://www.webkunr.de/Jbench
WAS390 JUGSB. Kunrath, ism-p CC AIM,25.06.2001, Seite 26. ====!"§==Systems=
Information overload