Presentation is loading. Please wait.

Presentation is loading. Please wait.

Web-Enablement How to Web-Enable Your ADABAS Data By Using Existing Natural Programs Natural Conference Boston Dieter W. Storr May 2004

Similar presentations


Presentation on theme: "Web-Enablement How to Web-Enable Your ADABAS Data By Using Existing Natural Programs Natural Conference Boston Dieter W. Storr May 2004"— Presentation transcript:

1

2 Web-Enablement How to Web-Enable Your ADABAS Data By Using Existing Natural Programs Natural Conference Boston Dieter W. Storr May 2004 info@storrconsulting.com

3 May 2004Dieter W. Storr -- info@storrconsulting.com 2 WEB ADABAS TP Monitor CICS or Com-plete and NATURAL TP Monitor CICS or Com-plete and NATURAL WRQ EntireX WebStar MQSeriesMOM RPC DCOM CORBA Broker

4 May 2004Dieter W. Storr -- info@storrconsulting.com 3 Questions to Start Screen Scraping or Middleware? Messaging or Brokering? Asynchronous processes or dialog? TP monitor with multiple TCB capabilities? Is a TP monitor necessary? Separate the presentation layer from the business logic and data access in your existing Natural programs?

5 May 2004Dieter W. Storr -- info@storrconsulting.com 4 Questions to Start Would you like to write for web functions new componentized Natural programs? Do you want to write many front-end programs to control, distribute, and observe the messages? Do all methods support your existing security software, for example userid's and passwords?

6 May 2004Dieter W. Storr -- info@storrconsulting.com 5 Content Screen Scraper COMMAREA Self-Written Solution w/o Middleware Com-plete 6.1 Smarts CGI / HTTP Server CICS / CICS Web Server / Natural CGI Message-Oriented Middleware (MOM) Broker Middleware

7 May 2004Dieter W. Storr -- info@storrconsulting.com 6 Content Remote Procedure Call (RPC) Products and Examples Pros and Cons

8 May 2004Dieter W. Storr -- info@storrconsulting.com 7 Screen Scraper Description Piece of software used to automate interaction between two computer systems through the terminal interface of one of those systems. It allows a PC to intercept character-based data from a mainframe Presents the Green Screen in an easier to understand graphical user interface (GUI), HTML, or XML

9 May 2004Dieter W. Storr -- info@storrconsulting.com 8 Screen Scraper Description Screen scrapers are advantageous when modifications to the host system are undesirable, when it is desirable to make use of the existing business and data integrity logic on the host, and when no other (peer-to- peer) interface method is available.

10 May 2004Dieter W. Storr -- info@storrconsulting.com 9 ADABAS WEB Screen Scraper Web Server OPEN Systems NATURAL Presentation Layer (3270) Business Logic Data Access NATURAL Presentation Layer (3270) Business Logic Data Access TP Monitor / Com-plete or CICS Mainframe

11 May 2004Dieter W. Storr -- info@storrconsulting.com 10 WEB TP Monitor / NATURAL / ADABAS

12 May 2004Dieter W. Storr -- info@storrconsulting.com 11 Screen Scraper Telnet TN3270 TN3270.pm uses the standard Net::Telnet Perl library to handle the Telnet protocol, and the interprets the 3270 data stream as defined by IBM in 3270 Data Stream Progammers Reference, GA23-0059-07, found on the web at http://publibfp.boulder.ibm.com/cgi- bin/bookmgr/Books/cn7p4000/ccontents

13 May 2004Dieter W. Storr -- info@storrconsulting.com 12 Screen Scraper - Pros & Cons NATURAL Presentation Layer 3270 INPUT... USING MAP A1234M678 Business Logic IF... THEN.. ELSE.. Data Access READ VIEW BY ISN

14 May 2004Dieter W. Storr -- info@storrconsulting.com 13 Screen Scraper - Pros & Cons Pros: No program change Fast migration

15 May 2004Dieter W. Storr -- info@storrconsulting.com 14 Screen Scraper Pros & Cons Cons: Can cause performance problems New Natural version can cause errors in software, for example attribute bytes Map changes = screen scraper changes Additional costs for software Maintenance for self-written screen scrapers Displays not state-of-the-art

16 May 2004Dieter W. Storr -- info@storrconsulting.com 15 Screen Scraper - Pros & Cons Cons: Displays are 1:1 Displays for customer service may not be good to display for web users, for example

17 May 2004Dieter W. Storr -- info@storrconsulting.com 16 Screen Scraper - Reality Changed some Natural programs Created new Natural programs Created redundant business logic in Java on the application server (performance) Created some redundant data on the back- end database (Oracle) and gateway tier

18 May 2004Dieter W. Storr -- info@storrconsulting.com 17 Web Server Firewall WebLogic BEA Internet Screen Scraper Firewall Com-plete NATURAL ADABAS CICS COBOL VSAM Firewall SSL Oracle FirstLogic DBs Web Server WebLogic BEA Screen Scraper CISCO Router Apache

19 May 2004Dieter W. Storr -- info@storrconsulting.com 18 Screen Scraper Webserver stress tool - http://www.paessler.com/index_eng.html

20 May 2004Dieter W. Storr -- info@storrconsulting.com 19 Screen Scraper - ADABAS Response Time ID COMMANDS % OF TOTAL -------- ---------- ----------- CW0011 1,299 |========= CW0012 1,194 |======== CW0013 565 |==== CW0014 100 |= CW0019 650 |==== CW0020 369 |=== CW0021 394 |=== CW0022 446 |=== CW0023 179 |= CW0025 267 |== ---------- ----------- ======== 5,463 |========> AVG DUR ------------ 0.00540 0.00613 0.00251 0.02506 0.00050 0.00040 0.00048 0.00052 0.00072 0.00052 ------------ 0.00355

21 May 2004Dieter W. Storr -- info@storrconsulting.com 20 Screen Scraper Software Flashpoint, Inc. (www.flashpt.com) Intelligent Environments (www.screensurfer.com) ISD Jacada, Inc. (http://www.jacada.com) Multi Soft, Inc. (http://www.frontending.com/) WRQ (http://www.wrq.com/products/) Attachmate (http://www.attachmate.com/products/0,1015,1,00.html)

22 May 2004Dieter W. Storr -- info@storrconsulting.com 21 Screen Scraper Software Entire Screenbuilder (Software AG) Mozart (www.mozart.com) ?? Natural Engineer WebStar - kind of screen scraping http://www.softwareagusa.com/index.asp Reengineering tool Separates presentation logic Creates XML, XSL Creates CALLNAT statements Web Server EntireX Broker NT/2000 web clients, e.g. IE.

23 May 2004Dieter W. Storr -- info@storrconsulting.com 22 COMMAREA (CICS) l Rather than rely on screen scrapers and their overhead, try going directly through the COMMAREA. l To do this, you will have to locate the desired programs through a code coverage product. l Once the desired programs are located, in the execute the business function, use a Code Splitter to split the user interface from the business logic. l While this sounds like more work than a scraper, you will be better positioned for new development and whatever new interface comes along

24 May 2004Dieter W. Storr -- info@storrconsulting.com 23 COMMAREA (CICS) Code Coverage - XPEDITER http://www.year2000.com/releases/compu03_02_1999.html http://www.compuware.com/products/xpediter/

25 May 2004Dieter W. Storr -- info@storrconsulting.com 24 Basic Connection ADABAS NATURAL CGI Web Server Web Browser

26 May 2004Dieter W. Storr -- info@storrconsulting.com 25 Self-Written Solution (Ducks Concept) Client Paradigm Deliver Fully Functional Applications Use a Graphical User Interface Anywhere, Anytime No Code Distribution (Thin client) to Clients (Some as yet unknown) Using a Browser Enabled Device

27 May 2004Dieter W. Storr -- info@storrconsulting.com 26 Self-Written Solution (Ducks Concept) Client Implementation Keep The Central Database Keep The Central Application Server Keep Existing Development Expertise and Tools, i.e. keep the S/390, ADABAS/DB2 & Natural Remove the 3270 Interface Insert the Browser Install TCP/IP Install the Web Server Run over your Internal Network (maybe the Internet)

28 May 2004Dieter W. Storr -- info@storrconsulting.com 27

29 May 2004Dieter W. Storr -- info@storrconsulting.com 28 Self-Written Solution (Ducks Concept) WebSphere Started task called WEBSRV - in SYS1.PROCLIB SYS1.PARMLIB(BPXPRM00) Directory structure under /web /web/httpd.envvars /web/httpd.conf RACF CLASS=STARTED PROFILE=WEBSRV.** and other RACF stuff ( Thanks Skip Horn from University of Rochester and SAG-L)

30 May 2004Dieter W. Storr -- info@storrconsulting.com 29 Self-Written Solution (Ducks Concept)

31 May 2004Dieter W. Storr -- info@storrconsulting.com 30 REXX CGI NATURAL

32 May 2004Dieter W. Storr -- info@storrconsulting.com 31 Self-Written Sol. - Pros & Cons Pros: No TP monitor No middleware No code distribution Use the browser thats available at the user site Users upgrade the browser

33 May 2004Dieter W. Storr -- info@storrconsulting.com 32 Self-Written Sol. - Pros & Cons Cons: Possible performance problems under TSO Maybe Linux on an established S/390?

34 May 2004Dieter W. Storr -- info@storrconsulting.com 33 Example of Linux on an established S/390 * FICON CTC ** z900 STI/HiperSocket OS/390 DB2 CICS IMS MQ Server TSM CP 4Gb CP IFL 3Gb... VM DB2/UDBDB2/UDB CICSConnectCICSConnect IMSConnectIMSConnect SambaSamba ApacheApache z900 hardware (up to 15 partitions) 1Gb IFL Linux Firewall 10 Gb/sec or 1GB/sec** Internet 1 Gb/sec or 100MB/sec* Source: IBM IFL = Integration Facilities for Linux

35 May 2004Dieter W. Storr -- info@storrconsulting.com 34 Com-plete 6.1 Smarts CGI / HTTP Server Natural Programs: Copy relevant Natural programs into a new library Remove the presentation layer (input using map) Include parameter exchange mechanism

36 May 2004Dieter W. Storr -- info@storrconsulting.com 35 Com-plete 6.1 Smarts CGI / HTTP Server Natural CGI: Install (INPL) Natural CGI if the CGI should run under Natural CGI scripts can be written in any language that is supported under Com-plete, including Natural Natural CGI is running under Natural 2.2.8 and higher A Natural CGI program is invoked using the standard browser URL: http://ip-addr:port/natcgi/program

37 May 2004Dieter W. Storr -- info@storrconsulting.com 36 Com-plete 6.1 Smarts CGI / HTTP Server HTTP Server: Install SMARTS server - at least version APS2.3.2, patch level 8 (Nov 2001) Set up parameters Include new parameter under Com-plete Modify Com-plete's start-up procedure and parameters

38 May 2004Dieter W. Storr -- info@storrconsulting.com 37 Com-plete 6.1 Smarts CGI / HTTP Server Com-plete Version 6.1 Includes: Full support of the TCP/IP protocol, Directly connect mainframe applications to the Intranet/Internet HTTP server TELNET (tn3270) server (replaces Rumba or Extra) - sessions build through a JAVA applet that comes with Com-plete

39 May 2004Dieter W. Storr -- info@storrconsulting.com 38 Com-plete 6.1 Smarts CGI / HTTP Server Com-plete Version 6.1 Includes: API layer POSIX SMARTS (SAG's Multi-Architecture RunTime System) Natural Web Interface To invoke a Natural Web Interface program, use the standard browser URL http://ip-addr:port/natcgi/sysweb/nwwaps/library/subprogram

40 May 2004Dieter W. Storr -- info@storrconsulting.com 39 Com-plete 6.1 Smarts CGI / HTTP Server VTAM Inter- face Utili ties Old appli- cations Spool Telnet HTTP CGI applications Product X

41 May 2004Dieter W. Storr -- info@storrconsulting.com 40 Com-plete 6.1 - Pros & Cons Pros: Its still the best place to run NATURAL Its still the most efficient place from which to issue ADABAS or EntireX Broker calls As far as I know, its the only HTTP (web) server that runs natively under MVS (other: ISE390?) l Without the overhead of Unix System Services (USS) like Websphere The Telnet feature exposes existing online applications to the inter/intra net

42 May 2004Dieter W. Storr -- info@storrconsulting.com 41 Com-plete 6.1 - Pros & Cons Pros: Its not on the sunset list. CICS is one task per address space compared to up to 255 for COM-PLETE. CICS multi-tasks by propagating CICSs l It takes 200 machine instructions to dispatch another task in an active address space, but between 5 to 10 thousand to dispatch an inactive address space

43 May 2004Dieter W. Storr -- info@storrconsulting.com 42 Com-plete 6.1 - Pros & Cons Cons: Componentize the Natural programs Com-plete and NATURAL is not used a lot worldwide

44 May 2004Dieter W. Storr -- info@storrconsulting.com 43 CICS / CICS Web Server / Natural CGI Natural Programs: Copy relevant Natural programs into a new library Remove the presentation layer (input using map) Include parameter exchange mechanism

45 May 2004Dieter W. Storr -- info@storrconsulting.com 44 CICS / CICS Web Server / Natural CGI CICS Web Server: CICS web server is running in one LPAR, using Natural as the CGI. If CICS is being upgraded from version 4.1 to the latest Transaction Server then SSL is available. The CICS Web Interface allows web browsers to call programs in a CICS system using the hypertext transfer protocol (HTTP).

46 May 2004Dieter W. Storr -- info@storrconsulting.com 45 CICS / CICS Web Server / Natural CGI

47 May 2004Dieter W. Storr -- info@storrconsulting.com 46 CICS / CICS Web Server Pros & Cons Pros: Many companies worldwide are using CICS and NATURAL

48 May 2004Dieter W. Storr -- info@storrconsulting.com 47 CICS / CICS Web Server Pros & Cons Cons: Doesn't use MVS native web server CICS is not multi-tasking. Can have performance problems with thousands of parallel users Is running under MVS with the overhead of UNIX System Services (USS)

49 May 2004Dieter W. Storr -- info@storrconsulting.com 48 Middleware (Gartner Group) Message Oriented Middleware (MOM) http://www.middleware.org/mom/basicmom.html Platform Middleware Application Servers Enterprise Portal Software Integration Broker Suites http://www.middleware.org/mom/broker.html Other Middleware

50 May 2004Dieter W. Storr -- info@storrconsulting.com 49 Other Middleware (Gartner Group) RPCs Data Management Middleware Open Database Connectivity (ODBC) Web-to-host Middleware ABBs Componentware

51 May 2004Dieter W. Storr -- info@storrconsulting.com 50 Middleware (middleware.org) Message Oriented Middleware Object-Oriented Middleware Transaction Processing Middleware Database Middleware RPC Middleware

52 May 2004Dieter W. Storr -- info@storrconsulting.com 51 Message Oriented M. (middleware.org) Basic Message Oriented Middleware Message Switches Data Transformation Tools Integration Brokers Work Flow Products System Management Tools Developer Tools Other Products

53 May 2004Dieter W. Storr -- info@storrconsulting.com 52 Message Oriented Middleware (middleware.org) Basic Message Oriented Middleware Basic Message Oriented Middleware provides connectionless, asynchronous transactional message store-and-forward capability. Basic message oriented middleware can serve as the core of a message broker. Products BEA, MQSeries, etc. http://www.middleware.org/mom/vendors.html

54 May 2004Dieter W. Storr -- info@storrconsulting.com 53 MOM - MQSeries Enables business applications to exchange information across more than twenty-five different operating system platforms in a way that is straightforward and easy for programmers to implement.

55 May 2004Dieter W. Storr -- info@storrconsulting.com 54 MOM - MQSeries Programs communicate using the MQSeries Application Program Interface (API), an easy- to-use, high-level program interface which shields programmers from the complexities of different operating systems and underlying networks. Developers focus on the business logic, while MQSeries manages the connections to the computer systems.

56 May 2004Dieter W. Storr -- info@storrconsulting.com 55 OPEN Framework (Weblogic) JAVA OPEN Framework (Weblogic) JAVA MQSPMSTR MQSPCHIN COM-PLETE NATURAL Server (Sessions) NATURAL Server (Sessions) MQSeries Tasks -Master Task -Channel Initiator COM-PLETE Tasks -COMMQP - production -COMMQT - test -COMMQD - DBA test NATURAL Servers / Sessions -SHARE (up to 4 in prod) -DORIS -DBPT -TPA -DORR2 ADABAS MQSeries - From the OPEN Framework to the Mainframe

57 May 2004Dieter W. Storr -- info@storrconsulting.com 56 MQSeries - From the Mainframe to the OPEN Framework OPEN Framework (Weblogic) OPEN Framework (Weblogic) MQSPMSTR MQSPCHIN COM-PLETE NATURAL Program MQSeries Tasks -Master Task -Channel Initiator COM-PLETE Tasks -TPFPROD - production -TPFTEST - test -TPFDBA - DBA test NATURAL Programs -DORIS 2 -PRICEDIS ORACLE

58 May 2004Dieter W. Storr -- info@storrconsulting.com 57 JAVA / Weblogic ORACLE MQSeries in Com-plete RESIDENTPAGE=CSQBSRV MQSeries in Com-plete RESIDENTPAGE=CSQBSRV NATURAL Session 1 (Server) CGSERV Alias DORIS CALLNAT 'pgm' NATURAL Session 1 (Server) CGSERV Alias DORIS CALLNAT 'pgm' MQSeries Client NATURAL Session 2 (Server) CGSERV Alias SHARE CALLNAT 'pgm' NATURAL Session 2 (Server) CGSERV Alias SHARE CALLNAT 'pgm' NATURAL Session 3 (Server) CGSERV Alias DBPT CALLNAT 'pgm' NATURAL Session 3 (Server) CGSERV Alias DBPT CALLNAT 'pgm' Mainframe / Server TP Monitor ADABAS NATURAL Session 4 (Server) CGSERV Alias RIA CALLNAT 'pgm' NATURAL Session 4 (Server) CGSERV Alias RIA CALLNAT 'pgm' MQSeries in Natural's Shared Nucleus CSTATIC=(NSPPFUNC,MQCONN,NATINS,MQBACK,MQCMIT,MQCLOSE,MQDISC, MQGET,MQINQ,MQOPEN,MQPUT,MQPUT1,MQSET), INCLUDE MQSLIB(CSQBSTUB) MQ SERIES STUB MODULE MQSeries in Natural's Shared Nucleus CSTATIC=(NSPPFUNC,MQCONN,NATINS,MQBACK,MQCMIT,MQCLOSE,MQDISC, MQGET,MQINQ,MQOPEN,MQPUT,MQPUT1,MQSET), INCLUDE MQSLIB(CSQBSTUB) MQ SERIES STUB MODULE MQSeries Server MQSPCHIN & MQSPMSTR - Master Task & Channel Initiator MQSeries Server MQSPCHIN & MQSPMSTR - Master Task & Channel Initiator OPEN Framework Started Tasks NATURAL Session n (Server) CGSERV Alias xxxxx CALLNAT 'pgm' NATURAL Session n (Server) CGSERV Alias xxxxx CALLNAT 'pgm'

59 May 2004Dieter W. Storr -- info@storrconsulting.com 58 MQSeries - CGSERV

60 May 2004Dieter W. Storr -- info@storrconsulting.com 59 MQSeries Environment for MQSeries Client Name....: NATURAL Project Name...: DORIS2 Response Code..: 0 Environment Name: DBA MQ Manager Name : MQS1 MQ Request Queue: DORIS.ONLINE.NATCLNT1.REQUEST.QUEUE MQ Reply Queue..: DORIS.ONLINE.NATCLNT1.REPLY.QUEUE

61 May 2004Dieter W. Storr -- info@storrconsulting.com 60

62 May 2004Dieter W. Storr -- info@storrconsulting.com 61 COM-PLETE SHARESHARE DORISDORIS (started task) CHECKSRV (started task) CHECKSRV SHARE DORIS Start Server (Modify Command) /F COMMQD,USER,SHAREFE /F COMMQD,USER,DORISFE Start Server (Modify Command) /F COMMQD,USER,SHAREFE /F COMMQD,USER,DORISFE PDS AF/Oper WTO +CHECKSRV: NATURAL and MQSeries Servers COMMQD +CHECKSRV: Name Started Date Time LastTime +CHECKSRV: -------- ------- ---------- ----- -------- +CHECKSRV: SHARE Yes 2000/12/04 21:00 14:23:20 +CHECKSRV: DORIS Yes 2000/12/04 21:00 08:55:30 +CHECKSRVDOWN SHARE DORIS +CHECKSRVUP SHARE DORIS +CHECKSRV: NATURAL and MQSeries Servers COMMQD +CHECKSRV: Name Started Date Time LastTime +CHECKSRV: -------- ------- ---------- ----- -------- +CHECKSRV: SHARE Yes 2000/12/04 21:00 14:23:20 +CHECKSRV: DORIS Yes 2000/12/04 21:00 08:55:30 +CHECKSRVDOWN SHARE DORIS +CHECKSRVUP SHARE DORIS Start Task to check out COMMQx: /S COMMQCMD,ACTION=CHECK,ENV=MQx UU Check if all Natural sessions (servers) are up and running

63 May 2004Dieter W. Storr -- info@storrconsulting.com 62 MQSeries - Pros & Cons NATURAL 3270 Presentation Layer NATURAL Business Logic NATURAL Data Access WEB Presentation Layer

64 May 2004Dieter W. Storr -- info@storrconsulting.com 63 MQSeries - Pros & Cons Pros: Large penetration in market Market standard for message-oriented middleware with largest share Have system integration mind share Strong 3rd party support - many partners using MQ as universal transport Big development team - more general features faster

65 May 2004Dieter W. Storr -- info@storrconsulting.com 64 MQSeries - Pros & Cons Cons: Very complex product in terms of installation and maintenance Asynchronous messaging only API is complex to write and maintain Expensive and complicated management tools (Tivoli, Candle) Weak platforms are AS/400, VSE and BS2000

66 May 2004Dieter W. Storr -- info@storrconsulting.com 65 Strengths: äWorldwide presence äMost of the worlds structured data stored on IBM computers äExperience in direct sales Weaknesses: äMajor product transition to MQSeries Integrator v.2 äFew off-the-shelf adapters äHuge product line in hardware and software Opportunities: äStrengthen middleware-oriented sales force äProvide one-stop shop äLeverage strength of MQSeries in messaging market Threats: äShift from re-licensing technology to in-house R&D äPatchy expertise within IBM Global Solutions Competitive Overview: IBM

67 May 2004Dieter W. Storr -- info@storrconsulting.com 66 Broker Function (Message Broker) A Message Broker is typically built upon a MOM The MOM provides the base communication among the applications, and things like message persistence and guaranteed delivery Message Broker is a higher level concept that deals more directly with application integration issues

68 May 2004Dieter W. Storr -- info@storrconsulting.com 67 Broker Function (Message Broker) Message Broker includes Data transformation engine Content based routing Pre-packaged adapters to ERP systems Business process integration based on a rules engine A set of tools for plugging it all together

69 May 2004Dieter W. Storr -- info@storrconsulting.com 68 Broker Function (Message Broker) Message Broker includes Remote Procedure Calls (RPCs), Database stored procedures, Peer-to-peer services.

70 May 2004Dieter W. Storr -- info@storrconsulting.com 69 Broker Function (Integration Broker) Message Broker or Integration Broker Integration Broker is acting as a "bridge" between two or more different third-party systems, e.g. MQI and other EAI vendors An Integration Broker can contain a message broker, e.g. MQI Providing adapters able to convert data to and from various third-party formats

71 May 2004Dieter W. Storr -- info@storrconsulting.com 70 DCOM (Microsoft Concept) DCOM (Distributed Component Object Model) is a set of Microsoft concepts and program interfaces in which client program objets can request services from server program objects on other computers in a network. DCOM is based on the Component Object Model (COM), which provides a set of interfaces allowing clients and servers to communicate within the same computer (that is running Windows 95 or a later version).

72 May 2004Dieter W. Storr -- info@storrconsulting.com 71 Source: http://www.sis.port.ac.uk/~mab/Computing-FrameWork/figs/dcom.gif

73 May 2004Dieter W. Storr -- info@storrconsulting.com 72 OMG Reference Model Architecture The Common Object Request Broker Architecture (CORBA) is an open distributed object computing infrastructure being standardized by the Object Management Group (OMG). CORBA automates many common network programming tasks. CORBA

74 May 2004Dieter W. Storr -- info@storrconsulting.com 73 Source: http://www.sis.port.ac.uk/~mab/Computing-FrameWork/figs/corba.gif

75 May 2004Dieter W. Storr -- info@storrconsulting.com 74 MOM and CORBA CORBA is a standard which leads to middleware products called "ORBs" (Object Request Brokers) Both MOM and ORBs are middleware products that help developers in architecting and creating distributed systems The main difference between an ORB and a MOM is that ORBs embody a request/response communications paradigm, whereas MOMs embody an asynchronous (store-forward) communications model.

76 May 2004Dieter W. Storr -- info@storrconsulting.com 75 Message Broker - Pros & Cons For some, a Message Broker is viewed as a complete solution; to others, it's viewed as excess baggage.

77 May 2004Dieter W. Storr -- info@storrconsulting.com 76 Message Broker 4 Tier SoftwareOpenMom, JMSone BEA Systems, Inc.M3 IBMMQ Series Integrator MicrosoftBiztalk Software AG ( SAGA ) Entire Broker/Sagavista Entire X Communicatoretc. Source: http://www.middleware.org/mom/broker.html

78 May 2004Dieter W. Storr -- info@storrconsulting.com 77 Entire X Broker (Communicator) Using advanced MOM technology Control communication among distributed application components Supports many types of communication models

79 May 2004Dieter W. Storr -- info@storrconsulting.com 78 Entire X Broker Communication Models Synchronous communication means the sender and receiver are active simultaneously. The requesting application sends its message and then stops processing while it waits for a reply (blocking). Asynchronous is non-blocking communication where applications can be either concurrently or non- concurrently executing. Conversational means participating programs interact with each other in the form of a dialog, with each program responding in turn to information received from the other program.

80 May 2004Dieter W. Storr -- info@storrconsulting.com 79 Entire X Broker Communication Models Request/Reply is based on a single request and a single return, rather than a conversation. The sender is usually blocked. Messaging-and-Queuing is based on intermediate message storage. The sending application sends the message to the messaging middleware, which places it in a queue. The sender is generally unblocked.

81 May 2004Dieter W. Storr -- info@storrconsulting.com 80 Entire X Broker (Communicator) High Reliability High Performance and Resource Management The Basics: Communicating with the Broker ACI (Advanced Communication Interface) EntireX RPC Support for DCOM

82 May 2004Dieter W. Storr -- info@storrconsulting.com 81

83 May 2004Dieter W. Storr -- info@storrconsulting.com 82 Windows NT Laptop 850 MHz Pentium 256 MB RAM EntireX Broker IP address = your.ip.address.here DNS entry (8 bytes) = ENTIREX Apache or IIS Web Server NATURAL Batch //STEPLIB DD DISP=SHR,DSN=DIETER.EXX611.LOAD //CMPRMIN DD DISP=SHR,DSN=DIETER.CNTL(EXXPARM) RPC=(SERVER=ON,SRVNAME=SRV1,SRVNODE=ENTIREX,MAXBUF=32,SIZE=128, NTASKS=99) RCA=(BROKER) RCALIAS=(BROKER,BKIMBTSO) Starts 1-99 long running Natural sessions dynamically INCLUDE NATETB (already exists in NATURAL batch nucleus) Mainframe OS/390 - SYSY ADABAS Data USAT2 Data NATURAL Programs ADABAS Libraries: LBWEB1 LBWEB2 USAT1 SYSIDL For Starters

84 May 2004Dieter W. Storr -- info@storrconsulting.com 83 PDA /* map fields Verification rules READ Business logic FIND LDA /* map fields INPUT USING MAP CALLNAT 'BUSYLOGI' ADABAS WEB 3270

85 May 2004Dieter W. Storr -- info@storrconsulting.com 84 PDA /* map fields Verification rules READ Business logic FIND LDA /* map fields INPUT USING MAP CALLNAT 'BUSYLOGI' ADABAS WEB 3270 PDA /* map fields FIND Some logic END-FIND PDA /* map fields READ Some logic END-READ

86 May 2004Dieter W. Storr -- info@storrconsulting.com 85 EntireX - Performance Figures Financial Services, South Africa Java ACI to Natural CICS on OS/390 22,500 transactions (upd/del/enq) per hour Health Services, UK > 1 million Broker calls a day, i.e. average > 42,000 calls per hour Financial Services, UK exploit server replication and load balancing throughput increased more than 6 fold with Broker > 1 million Broker calls a day, i.e. average > 42,000 calls per hour

87 May 2004Dieter W. Storr -- info@storrconsulting.com 86 EntireX - Performance Figures Energy supplier, Germany RPC calls to Natural on BS2000 400 million Adabas calls created a day Assuming 200 Adabas calls per RPC call: 2 million RPC calls a day, i.e. average 83,000 RPC calls per hour Logistics Services, NL EntireX ACI on OS/390 1063 messages per second, i.e. 3,826,800 messages per hour

88 May 2004Dieter W. Storr -- info@storrconsulting.com 87 EntireX - Performance Figures Software AG internal EntireX Benchmark on NT 424 Broker calls per second, i.e. 1,526,400 calls per hour

89 May 2004Dieter W. Storr -- info@storrconsulting.com 88 EntireX vs. MQSeries A prospective Customers Evaluation (February 2001) 1 function call l call Broker handing over send data and retrieving response MQSeriesEntireX 9 function calls (at least) open communication with Queue Manager open Input Queue open Output Queue write to Input Queue commit written message read all messages from Output Queue close Input Queue close Output Queue close communication with Queue Manager Function calls required for a single communication 18 MB network traffic for sending 1MB data 4 MB network traffic for sending 1MB data 5.9 MB 0.5 MB Network overhead Client footprint (Communication part)

90 May 2004Dieter W. Storr -- info@storrconsulting.com 89 EntireX - Pros & Cons EntireX has tremendous advantages over MQ in terms of Deployment l EntireX has central hub architecture, small client footprint, can have zero client footprint configuration l MQ requires queues, i.e. new software, to be installed on every server in the network Administration l EntireX is easier to maintain as it runs on so few servers l MQ requires queues to be maintained on every server in the network - requires complicated error tracking to identify failure points

91 May 2004Dieter W. Storr -- info@storrconsulting.com 90 EntireX - Pros & Cons EntireX has tremendous advantages over MQ in terms of Performance l EntireX is significantly faster because it offers replication and load-balancing based on network traffic levels; messages are placed on queues only when required and specifically requested by application l MQ customers complain that its very slow, creating problems and frustrations when users need queries or transactions completed quickly

92 May 2004Dieter W. Storr -- info@storrconsulting.com 91

93 May 2004Dieter W. Storr -- info@storrconsulting.com 92 Helpful Links CORBA, MOM, Broker questions http://searchwebservices.techtarget.com/ http://www.whatis.com http://www.cs.wustl.edu/~schmidt/corba-overview.html Computing Framework Diagrams http://www.sis.port.ac.uk/~mab/Computing-FrameWork/diagrams.html

94 May 2004Dieter W. Storr -- info@storrconsulting.com 93 Thank you! Questions?


Download ppt "Web-Enablement How to Web-Enable Your ADABAS Data By Using Existing Natural Programs Natural Conference Boston Dieter W. Storr May 2004"

Similar presentations


Ads by Google