WEBENABLING - PowerPoint PPT Presentation

1 / 52
About This Presentation
Title:

WEBENABLING

Description:

Windows: Graphical but dialogs. Mainframe. 3270. 3270. 3270. World. Browser. www.gensystems.com ... Avoid sub-menus by direct link from margin ... – PowerPoint PPT presentation

Number of Views:25
Avg rating:3.0/5.0
Slides: 53
Provided by: alisono150
Category:

less

Transcript and Presenter's Notes

Title: WEBENABLING


1
  • WEB-ENABLING
  • legacy NATURAL
  • using HTML with EntireX

Steven Price
2
About Us
  • Steven Price
  • Product Director NATURAL Engineer
  • SAG products since 1981
  • GSL (Generation Systems Ltd) Software AG
  • SAG Alliance Partner
  • Develop engineering solutions for Adabas
    Natural
  • Business
  • Software and data re-engineering
  • Globally on-site and through services
  • Conversions (e.g. Report to Structured) and
    version upgrades
  • Technical solutions
  • Adabas, Natural and other SAG products
  • HTML processing

3
Why Web-Enable?
  • Services On-line web-enabling services
  • NATURAL Engineer must execute on the web
  • License Add-on to NATURAL Engineer
  • web-enable your own applications on site in your
    own time and with your own resources

4
Web-Enabling Approach
  • Architecture
  • Implement using a flexible and future-proof
    architecture suitable for most sites
  • Viable long-term web-enablement solution
  • Resulting Web Applications
  • Must be maintainable
  • Simple and understandable
  • Must be enhanceable within a flexible and
    user-friendly structure
  • Reuse existing logic
  • Logic must not be duplicated
  • Automated process
  • Reduce time and resources
  • Maintain integrity and accuracy

5
Web-enabling Requirements
  • Legacy application
  • Support long transactions
  • Application logic must be reused and not
    duplicated
  • Enhance application with web-styling and
    functionality no scraping

6
Resultant Approach
  • Application gateway EntireX
  • Runtime objects
  • Create runtime objects for ease and simplicity of
    implementation
  • HTML page maintenance
  • by existing industry software
  • e.g. MS FrontPage
  • NATURAL application maintenance
  • Limit application changes required

7
Conversion of NATURAL Engineer
  • NEE works in both Mainframe and Windows
    environments
  • Most legacy code is on the mainframe
  • Mainframe Structured
  • Windows Graphical but dialogs

8
Environment - Web
9
Environment- EntireX
  • Use EntireX to communicate

10
Environment- Interface
  • And have it interface

11
Environment- Attach Manager
  • Long transactions
  • Holding database records over pages

12
Environment- HTML
  • HTML pages

13
Environment Summary- NATURAL Engineer Web
Environment
14
The Process
  • Generate HTML pages for NATURAL presentation
  • Automatic generation from MAP or other
    presentation statements
  • Create new subprogram per presentation
  • EntireX commands
  • Modify application for web execution
  • as a long transaction - minimal changes
  • Insert CALLNAT to new subprogram

15
The Process- Generate HTML
  • HTML
  • INPUT
  • MAP
  • WRITE
  • DISPLAY
  • Create HTML page
  • Insert environment code
  • Insert text and data items to HTML standard

16
(No Transcript)
17
(No Transcript)
18
(No Transcript)
19
The Process- Create Subprogram
  • For each presentation statement, generate a
    subprogram for HTML support
  • Does the following
  • Receives all presentation data
  • Formats the EntireX buffer
  • Calls EntireX
  • Puts data back into PDA variables for return to
    calling object

20
(No Transcript)
21
(No Transcript)
22
(No Transcript)
23
The Process- Modify Application
  • Modify application for Web
  • Insert code into application to access browser
  • CALLNAT inserted when an HTML reference is located
  • Note use of CONVID
  • NULL except when execution is via EntireX

24
(No Transcript)
25
(No Transcript)
26
Statements
  • INPUT/MAP
  • REINPUT
  • PF-KEY
  • WRITE/DISPLAY

27
Statements- INPUT/MAP
  • Static HTML page
  • Literals copied to HTML
  • Data items placed for run-time amalgamation

28
(No Transcript)
29
Statements- REINPUT
  • Acts like a GOTO statement
  • How do you replicate control for web-processing?
  • Copy text in REINPUT into HTML field
  • Set flag to bypass next INPUT statement
  • Execute REINPUT statement

30
(No Transcript)
31
Statements- PF-KEY
  • PF-KEY system variable must be modified
  • Runtime library function
  • Move web contents of NEEPFKEY into PF-KEY system
    variable

32
Statements- WRITE/DISPLAY
  • Report/listing output
  • More complex than static HTML presentation
  • Potential for lots of data to be sent which has
    to be inserted into the page
  • Requires an HTML method to support variable data
    receiving lines of data
  • Additional run-time logic required

33
Statements- WRITE/DISPLAY (cont.)
  • Modify more than WRITE and DISPLAY statements
  • Write
  • Write Title/Trailer
  • Display
  • At Top of Page
  • At End of Page
  • Newpage
  • The HTML must support all the complex logic

34
Statements- WRITE/DISPLAY (cont.)
  • HTML page
  • Create a table
  • Insert data item titles
  • Insert data items with group names
  • Write Title/At Top Of Page
  • outside table at top
  • Write Trailer/At End Of Page
  • outside table at bottom
  • Runtime component to merge static tables and line
    data into final HTML

35
(No Transcript)
36
(No Transcript)
37
Statements- WRITE/DISPLAY (cont.)
  • Subprogram
  • Use EntireX SENDHOLD instead of CONVERSE
    (MAP)
  • Original Object
  • Insert At-End-Of-Page logic to support HTML
    CONVERSE via EntireX

38
(No Transcript)
39
(No Transcript)
40
Web Execution Process
Walkthrough
41
  • Invoke HTML on server
  • HTTP//www.gensystems.com/NEE/NEELOGON.HTML

42
  • CGI script invoked
  • Userid Password validated by NATURAL Security

43
Web Execution Process
  • EntireX called for selected application
  • e.g. HOSPITAL
  • Attach Manager called to start a new NATURAL
    session
  • Start-up program invoked
  • HTML subprogram executed

44
Web Execution Process
  • Runtime data placed in EntireX buffer in XML
    format
  • EntireX Broker called
  • Broker passes data to CGI Script
  • CGI Script
  • locates name of HTML template for buffer
  • merges HTML template and runtime data
  • sends HTML to Browser screen

45
(No Transcript)
46
NATURAL EngineersWeb-enabling Process
Natural Engineer Repository
Impact Analysis
47
NEEs Web-enabling Process- Impact Analysis
  • Process Inputs (Search for inputs)
  • Process Object-Builder keyword
  • Generate line ranges for objects
  • Process line ranges for subroutines
  • Object-Builder Impact Analysis for HTML

48
Web Enhancements
  • Graphical tools to improve/modify static HTML
  • e.g. MS FrontPage
  • Colour, fonts, graphics, etc
  • Insert direct link to bypass HTML pages
  • Avoid sub-menus by direct link from margin
  • e.g. Hospital application left margin has Add a
    Patient
  • Insert URL link directly for the HTML page to
    execute other transactions
  • e.g. NEEWEB application view source code for
    object in another Browser window

49
NATURAL Engineer- New Developments
  • XML using Tamino
  • Short and long transaction interaction

50
Summary Advantages(1 of 2)
  • Benefits to your Natural Applications
  • Reuses existing presentation layout
  • No change to existing business, processing and
    database logic
  • Creates only one new subprogram per presentation
  • Applies minimal and auditable changes
  • Flexible EntireX Broker based architecture
  • best use of existing applications
  • added benefits of a web environment

51
Summary Advantages(2 of 2)
  • Benefits of HTML and XML
  • Automatically generates HTML pages
  • Maintain HTML pages with standard editing tools
    such as MS FrontPage
  • HTML display may be modified to
  • improve user interface and use templates
  • include direct links to application functions
  • XML data format transfer between NATURAL and HTML
  • available for further interfaces
  • Communication with EntireX Broker
  • No software on client PC - zero footprint
  • Effective mainframe communications and excellent
    speed of execution

52
Demonstration
  • Test System show web-functionality
  • Execute application and show functions
  • NEE On the web
  • Web-enable simple system to show process
Write a Comment
User Comments (0)
About PowerShow.com