1 / 93

Web-Enablement

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. WEB. DCOM. Broker. WRQ. WebStar. EntireX. RPC. MQSeries. MOM. CORBA. TP Monitor CICS or Com-plete and NATURAL.

kaiya
Download Presentation

Web-Enablement

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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

  2. WEB DCOM Broker WRQ WebStar EntireX RPC MQSeries MOM CORBA TP Monitor CICS or Com-plete and NATURAL ADABAS Dieter 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? Dieter 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? Dieter 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 Dieter W. Storr -- info@storrconsulting.com

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

  7. Screen ScraperDescription • 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 Dieter W. Storr -- info@storrconsulting.com

  8. Screen ScraperDescription • 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. Dieter W. Storr -- info@storrconsulting.com

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

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

  11. Screen ScraperTelnet 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 Progammer’s Reference”, GA23-0059-07, found on the web at • http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/Books/cn7p4000/ccontents Dieter 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 Dieter W. Storr -- info@storrconsulting.com

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

  14. Screen ScraperPros & 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 Dieter 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 Dieter 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 Dieter W. Storr -- info@storrconsulting.com

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

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

  19. Screen Scraper - ADABAS Response Time AVG DUR ------------ 0.00540 0.00613 0.00251 0.02506 0.00050 0.00040 0.00048 0.00052 0.00072 0.00052 ------------ 0.00355 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 |========> Dieter W. Storr -- info@storrconsulting.com

  20. Screen ScraperSoftware • 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) Dieter W. Storr -- info@storrconsulting.com

  21. Screen ScraperSoftware • 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. Dieter W. Storr -- info@storrconsulting.com

  22. COMMAREA (CICS) • Rather than rely on screen scrapers and their overhead, try going directly through the COMMAREA. • To do this, you will have to locate the desired programs through a code coverage product. • 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. • While this sounds like more work than a scraper, you will be better positioned for new development and whatever new interface comes along Dieter W. Storr -- info@storrconsulting.com

  23. COMMAREA (CICS) • Code Coverage - XPEDITERhttp://www.year2000.com/releases/compu03_02_1999.htmlhttp://www.compuware.com/products/xpediter/ Dieter W. Storr -- info@storrconsulting.com

  24. Basic Connection ADABAS NATURAL CGI Web Server Web Browser Dieter 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 Dieter 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) Dieter W. Storr -- info@storrconsulting.com

  27. Dieter 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) Dieter W. Storr -- info@storrconsulting.com

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

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

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

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

  33. Example of Linux on an established S/390 z900 hardware(up to 15 partitions) 1 Gb/sec or 100MB/sec* 1 Gb/sec or 100MB/sec* Internet VM 10 Gb/sec or 1GB/sec** OS/390 DB2 CICS IMS MQ Server TSM DB2 / UDB CICS Connect Apache IMS Conne c t Linux Firewall ... Samba CP CP IFL CP CP IFL IFL 1Gb 4Gb 3Gb Source: IBM IFL = Integration Facilities for Linux * FICON CTC ** z900 STI/HiperSocket Dieter 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 Dieter 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 Dieter 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 Dieter 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 Dieter 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 Dieter W. Storr -- info@storrconsulting.com

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

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

  41. Com-plete 6.1 - Pros & Cons Pros: • It’s 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 CICS’s • 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 Dieter 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 Dieter 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 Dieter 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). Dieter W. Storr -- info@storrconsulting.com

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

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

  47. CICS / CICS Web ServerPros & 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) Dieter 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 Suiteshttp://www.middleware.org/mom/broker.html • Other Middleware Dieter W. Storr -- info@storrconsulting.com

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

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

More Related