Web to Oracle Using Net Express and OO Cobol

32
SESSION: ENTER SESSION SPEAKER: ENTER SPEAKER

description

Web to Oracle Using Net Express and OO Cobol. Alden C. Lorents College of Business Northern Arizona University Flagstaff, AZ [email protected]. Introduction. Next Wave After Y2K Web Development E-Commerce Linkage to Existing Systems Web, Java and Cobol - PowerPoint PPT Presentation

Transcript of Web to Oracle Using Net Express and OO Cobol

Page 1: Web to Oracle Using Net Express and OO Cobol

SESSION: ENTER SESSIONSPEAKER: ENTER SPEAKER

Page 2: Web to Oracle Using Net Express and OO Cobol

Web to Oracle Using Net Express and OO Cobol

Alden C. LorentsCollege of Business

Northern Arizona UniversityFlagstaff, AZ

[email protected]

Page 3: Web to Oracle Using Net Express and OO Cobol

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

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

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

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

Input Form and IDE

Page 8: Web to Oracle Using Net Express and OO Cobol

Output Form and IDE

Page 9: Web to Oracle Using Net Express and OO Cobol

Form Designer Generated CPY

Page 10: Web to Oracle Using Net Express and OO Cobol

Form Designer Generated CPV

Page 11: Web to Oracle Using Net Express and OO Cobol

Form Designer Generated CPF

Page 12: Web to Oracle Using Net Express and OO Cobol

Generating the CGI

Page 13: Web to Oracle Using Net Express and OO Cobol

Partial List from Generated CGI

Page 14: Web to Oracle Using Net Express and OO Cobol

Adding CGI Data Division Entries

Page 15: Web to Oracle Using Net Express and OO Cobol

Adding CGI Business Logic

Page 16: Web to Oracle Using Net Express and OO Cobol

Generated Input HTML

Page 17: Web to Oracle Using Net Express and OO Cobol

Java Script Added to Input HTML

Page 18: Web to Oracle Using Net Express and OO Cobol

Generated Output HTML

Page 19: Web to Oracle Using Net Express and OO Cobol

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

Partial DBI Source (PCO)

Page 21: Web to Oracle Using Net Express and OO Cobol

DBI Oracle Logon Method

Page 22: Web to Oracle Using Net Express and OO Cobol

DBI Read-Reservation Method

Page 23: Web to Oracle Using Net Express and OO Cobol

Oracle Precompile Process

Page 24: Web to Oracle Using Net Express and OO Cobol

Precompiled Read-Reservation

Page 25: Web to Oracle Using Net Express and OO Cobol

Compiling the DBI

Page 26: Web to Oracle Using Net Express and OO Cobol

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

Net Express Build Set UP

Page 28: Web to Oracle Using Net Express and OO Cobol

Net Express Build Process

Page 29: Web to Oracle Using Net Express and OO Cobol

Testing Data Validation

Page 30: Web to Oracle Using Net Express and OO Cobol

Testing Good Data

Page 31: Web to Oracle Using Net Express and OO Cobol

Output From a Successful Test

Page 32: Web to Oracle Using Net Express and OO Cobol

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