Download - Web to Oracle Using Net Express and OO Cobol
![Page 1: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/1.jpg)
SESSION: ENTER SESSIONSPEAKER: ENTER SPEAKER
![Page 2: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/2.jpg)
Web to Oracle Using Net Express and OO Cobol
Alden C. LorentsCollege of Business
Northern Arizona UniversityFlagstaff, AZ
![Page 3: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/3.jpg)
Introduction
• Next Wave After Y2K– Web Development– E-Commerce– Linkage to Existing Systems– Web, Java and Cobol
• Project to teach Web/Existing System Integration using Net Express
![Page 4: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/4.jpg)
Project Components• Web Component
– Forms and CGI Development– Java Script
• Data Base Component– Database Interface to Oracle– OO Cobol– Oracle Database Running on an NT
Server• Building, Packaging and Testing
![Page 5: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/5.jpg)
Figure 1 Project Components
WebWindow Execute
Net ExpressTest Process
Oracle SQLand Libraries
Solo WebEmulator
Database
DBI.PCO OraclePre compile
DBI.CBL
Net ExpressBuild
WebWindow
Build
Form & CGIBuild
CGI.CBL
HTMLForms
BusinessLogic Java
ScriptCPY, CPV, CPF
Files
CGI.EXE
OracleLibraries
![Page 6: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/6.jpg)
Building the Web Component
• Net Express IDE– Building the Input and Output Forms
with Form Designer– Copy file generation from Designer– Generating the CGI– Adding Business Logic– Adding Java Script
![Page 7: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/7.jpg)
Input Form and IDE
![Page 8: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/8.jpg)
Output Form and IDE
![Page 9: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/9.jpg)
Form Designer Generated CPY
![Page 10: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/10.jpg)
Form Designer Generated CPV
![Page 11: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/11.jpg)
Form Designer Generated CPF
![Page 12: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/12.jpg)
Generating the CGI
![Page 13: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/13.jpg)
Partial List from Generated CGI
![Page 14: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/14.jpg)
Adding CGI Data Division Entries
![Page 15: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/15.jpg)
Adding CGI Business Logic
![Page 16: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/16.jpg)
Generated Input HTML
![Page 17: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/17.jpg)
Java Script Added to Input HTML
![Page 18: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/18.jpg)
Generated Output HTML
![Page 19: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/19.jpg)
Database Interface Component
• The PCO Source File– Embedded SQL– OO Structure and Methods
• The Oracle Precompile Process– Error Correction
• The Cobol Compile Process
![Page 20: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/20.jpg)
Partial DBI Source (PCO)
![Page 21: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/21.jpg)
DBI Oracle Logon Method
![Page 22: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/22.jpg)
DBI Read-Reservation Method
![Page 23: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/23.jpg)
Oracle Precompile Process
![Page 24: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/24.jpg)
Precompiled Read-Reservation
![Page 25: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/25.jpg)
Compiling the DBI
![Page 26: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/26.jpg)
Building and Testing• Building the Executable• Testing using Solo
– Animating• CGI Animation• DBI Animation - SQL Calls
– Testing the Java Script• Migration to the Web Server
– Oracle Client– Micro Focus OO Support
![Page 27: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/27.jpg)
Net Express Build Set UP
![Page 28: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/28.jpg)
Net Express Build Process
![Page 29: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/29.jpg)
Testing Data Validation
![Page 30: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/30.jpg)
Testing Good Data
![Page 31: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/31.jpg)
Output From a Successful Test
![Page 32: Web to Oracle Using Net Express and OO Cobol](https://reader036.vdocuments.site/reader036/viewer/2022062316/5681680b550346895ddd9123/html5/thumbnails/32.jpg)
Future Development• Multiple Web Form Interaction• More Robust System of Queries• Database Updating• Moving the System to a Web
Server– Oracle Client– Micro Focus OO Support