Top Banner
1 Oracle World 2003 - #36625 Web Forms: The Great Leap Forward A P Clarke
22

Web Forms: The Great Leap Forward

Feb 23, 2016

Download

Documents

nuwa

Web Forms: The Great Leap Forward. A P Clarke. AGENDA. The application The migration process This web stuff The migrated application Questions. The Application. The starting point. Government agency regulatory authority issuing licences Core business system Richly-featured: - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Web Forms: The Great Leap Forward

1Oracle World 2003 - #36625

Web Forms:The Great Leap Forward

A P Clarke

Page 2: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 2

AGENDA

• The application

• The migration process

• This web stuff

• The migrated application

• Questions

Page 3: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 3

The Application

Page 4: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 4

The starting point

• Government agency

– regulatory authority

– issuing licences

• Core business system

• Richly-featured:

– Third party workflow

– Post Office Address validation

– Complex technical calculations

– Integration with MS Word and Excel

• Developer 1.6.1

Page 5: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 5

DatabaseDatabase

Client/Server architecture

OLE2Host

Desktop drives

OLE Containers

ORA_FFI

Page 6: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 6

DatabaseDatabase

Web-deployed architecture

OLE2

Host

ORA_FFI

unix

Page 7: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 7

Going back to the application…

• The following features will not work with web deployment…

– Third party workflow– Address validation– D2KWUTIL– Calls to .DLL and .EXE files– Integration with MS Word– Production of Excel spreadsheets– Upload files– Reading registry

…without making changes• This is not an upgrade, it is a migration

Page 8: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 8

Can we build it?

Yes we can!

…er, sort of

The Migration Process

Page 9: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 9

Forms 4.5 to 9i Forms

• Conversion

– Migration Wizard

– Forms Builder

• OTN Web Site

• Remember to start OC4J!

• Icons: .ICO bad, .GIF good

Page 10: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 10

Reports 2.5 to 9i Reports

• Pretty straightforward

• RUN_PRODUCT is de-supported in 9i Forms

– RUN_REPORT_OBJECT

– WEB.SHOW_DOCUMENT

Page 11: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 11

Porting to Unix

• Watch out for :

– case sensitivity

– embedded file names

– directory separators

• O9iDS is less usable on Unix

• Not supported on terminal emulators

unix

Page 12: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 12

Client interaction

Workflow move to Java API

Address validation move to new product

File upload Forms demo PJC

OLE Intergration JACOB

• D2KWUTIL calls ???

• ORA_FFI calls ???

• HOST ???

• TEXT_IO ???

Page 13: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 13

This Web Stuff

But where to find it?

Zounds! This web stuff is harder than it looks. If only I had a handy utility to do all

the tough stuff for me.

Page 14: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 14

Introducing WebUtil

• Oracle Beta Pre-Production software• Client side versions of old favourites

– CLIENT_HOST– CLIENT_TEXT_IO– CLIENT_OLE2– CLIENT_GET_FILE_DIR– CLIENT_TOOL_ENV– CLIENT_WIN_API_ENVIRONMENT

• New features– WEBUTIL_FILE_TRANSFER– WEBUTIL_HOST– WEBUTIL_C_API– WEBUTIL_CLIENTINFO– WEBUTIL_BROWSER

• All straight PL/SQL calls

Page 15: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 15

Limitations of WebUtil

• Uses Pluggable Java Components

• Require PJC instantiations– Not useable in many triggers Use timers

– Can only use in Forms, not Reports or Menus Create one-off Forms

• Cannot get a Windows handle

• Not always the best approach– CLIENT_TEXT_IO

– CLIENT_OLE2

Page 16: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 16

So, do I have to become a Java head?

• Must know how Java CLASSPATH works

• ORA_JAVA requires some familiarity with:

– classes

– inheritance

• May need to write your own Java class

Page 17: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 17

Running on O9iAS

• Current client/server apps now need O9iAS

– licensing

– administration

• Getting this wrong can kill your project

• Complex configuration

• Need experienced O9iAS admin

– Q: What killed the Reports Server?

– A: Permissions on the /tmp directory

Page 18: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 18

The Migrated Application

Page 19: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 19

Migrated functionality

• Through ORA_JAVA– Third party workflow– Address validation

• Through WEBUTIL_C_API– Complex technical calculations– Terrain mapping

• Through CLIENT_OLE2– Integration with MS Word– Production of Excel spreadsheets

• Through WEBUTIL miscellaneous– Upload files– Read registry

Page 20: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 20

Lost functionality

• Help files

• Using Notepad to edit items

• Performance

– Using Forms to launch apps

– Using timers instead of W-N-F-I

– CLIENT_OLE2 time lag

• IDENTIFIED EXTERNALLY

• DLL transactions

Page 21: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 21

Intangible benefits

• Supported platform

• Easier deployment

• Standardisation of third party products

Page 22: Web Forms: The Great Leap Forward

Oracle World 2003 - #36625 22

Any questions?

[email protected]