Академический Документы
Профессиональный Документы
Культура Документы
Quasi Agenda
How long can I keep it? Can it run against new server versions? What are my upgrade options? What about third-party converters? Why do I care about these technologies? How do they impact my Forms decision? What else should I be looking at? How do the alternatives work?
Discussion
Discussion
Discussion
Options
==>
Forms 3.0...for a while longer Forms 4.5 Web Forms Something else
now
through SQL*Forms 3.0/ 12/31/96 SQL*Menu 5.0 and SQL*Reportwriter 1.1 1/1/97 SQL*Forms 3.0/ to SQL*Menu 5.0 and SQL*Reportwriter 1.1 12/31/99
Mature
Functionally Stable
No Support
after Obsolete SQL*Forms 3.0/ & 12/31/1999 SQL*Menu 5.0 and SQL*Reportwriter 1.1
No Support
Bad News
Good News
Until the end of the millenium, Oracle will:
! Answer questions on these products ! Provide problem workarounds where possible ! Offer upgrade assistance
Not to worry!
"Host-Based Client/Server"
How-To How-To
1. Install Oracle 7.3 with desired options 2. Install Oracle 7.2 tools and database on a separate machine or in a separate ORACLE_HOME 3. Be sure SQL*Net 2.x or greater is installed and configured 4. Set users environment variables:
! ORACLE_HOME and PATH use 7.2 settings ! TWO_TASK is the 7.3 databases TNS name
Conventional Approach
ELQVK VDYH ROG 25$&/(B+20( WR VWULS IURP 3$7+ 2/'+20( ^25$&/(B+20( 3$7+` PDNH WKH QHZ VHWWLQJV 25$&/(B+20( XDSSRUDFOHSURGXFW H[SRUW 25$&/(B+20( 25$&/(B6,' 352' H[SRUW 25$&/(B6,' XQVHW 7:2B7$6. 'RQ
W PDNH DQ\ DVVXPSWLRQV DERXW ZKDW
V LQ 3$7+ FDVH 3$7+ LQ
2/'+20(ELQ
3$7+ CHFKR 3$7+ _ ? VHG V 2/'+20(ELQ 25$&/(B+20(ELQJ C
25$&/(B+20(ELQ
3$7+ ^3$7+` 25$&/(B+20(ELQ 3$7+ 25$&/(B+20(ELQ
3$7+ 3$7+ 25$&/(B+20(ELQ HVDF H[SRUW 3$7+
)LUVW VHW 7:2B7$6. WR WKH 716 QDPH RI WKH GDWDEDVH 7:2B7$6. SURGKRXVWRQGDWDFUDIWFRP H[SRUW 7:2B7$6. 1RZ IRU VDIHW\ UHPRYH 25$&/(B6,' VR QR %(4 FRQQHFWLRQV SRVVLEOH XQVHW 25$&/(B6,' VDYH ROG 25$&/(B+20( WR VWULS IURP 3$7+ 2/'+20( ^25$&/(B+20( 3$7+` 8VH WKH GLVWULEXWLRQ WR XVH )RUPV 0HQX DQG 5HSRUWV 25$&/(B+20( 25$&/(B+20( XDSSRUDFOHSURGXFW 'RQ
W PDNH DQ\ DVVXPSWLRQV DERXW ZKDW
V LQ 3$7+ FDVH 3$7+ LQ
2/'+20(ELQ
3$7+ CHFKR 3$7+ _ ? VHG V 2/'+20(ELQ 25$&/(B+20(ELQJ C
25$&/(B+20(ELQ
3$7+ ^3$7+` 25$&/(B+20(ELQ 3$7+ 25$&/(B+20(ELQ
3$7+ 3$7+ 25$&/(B+20(ELQ HVDF H[SRUW 3$7+
Analysis
Benefits ' No application changes required ' No expensive PC upgrades required ' Buys more time to decide what to do next ' Gives market a chance to invent new technology
Risks % No guarantee of continued O/S support % Oracle will want to discontinue Oracle7 support 18 mos. after Oracle8 ships % Users tend to want GUIs
Options
Forms 3.0...for a while longer ==> Forms 4.5 Web Forms Something else
Forms 4.5
Designer i/f Trigger behavior Runtime LOV Runtime keys Forms messages Command-line syntax Menu security Screen size V2-style triggers
GUI only on-new-field-instance fires on nav...infinite loops likely Auto-reduce by default Slightly different (can be changed w/ Oracle Terminal) Some new phrasing. Example: "Do you want to save"... Slightly different (can be "wrappered") Use Oracle server roles Adapts to window size STILL supported!
How-to How-to
1. First upgrade forms and modules at the root of your "dependency tree" for referenced and called Forms 2. f45gen <module-name> <username/password>
(Produces .fmb file and .fmx file by default)
3. Eliminate navigation in on-new-field-instance triggers 4. Test until youre happy 5. Revise default key map using Oracle Terminal, or retrain users
Forms 4.5
Most Forms conversion literature overemphasizes key- and mouse-navigation issues Real issues are more than skin deep
Management: "Re-engineer"
This pattern is repeated in virtually every Oracle shop that upgrades from 3.0 to GUI Forms
1. Train a small team in Forms 4.5 2. Select a pilot project 3. Select upgrade approach(es) to evaluate
Converter + manual cleanup Simple one-to-one upgrade Modest inclusion of GUI features Complete re-engineer
4. Establish and document GUI standards as you go 5. Collect metrics for follow-on project sizing
Another Approach
A A Slide Slide With With High High Motherhood Motherhood Factor Factor
Use this juncture to convince management to use Designer/2000 Get your development team organized around repository-based tools Inventory existing applications... take out the trash! Use both reverse- and forward-engineering to reuse and rebuild as appropriate
Analysis
Forms Forms 3.0, 3.0, 4.5 4.5 Character Character Mode Mode or or GUI? GUI?
Options
Forms 3.0...for a while longer Forms 4.5 ==> Web Forms Something else
Client
Java Applet
Application Server
Web Server
Developer/2000
Developer/2000 Application
Database Server
Database
From www.oracle.com/promotions/intranet/html/devapp.html
2. Wait
Forms 5
At least:
! Improved scalability ! Better OCX support ! Easier logic partitioning between client & server ! Developer productivity tools such as wizards ! An object library
Sedona...
Components
! Active repository for store & manage objects ! Object Factory component generator ! Object Mediator middleware
As of Oct 95, was to ship Summer 96; now "with Oracle8" Have a look at:
! http://www.infoworld.com/cgi-bin/ displayArchives.pl?30java.htm
Analysis
Upgrade Upgrade Options Options and and Future Future Technologies Technologies
Forms Forms 3.0 4.5 Char Forms 4.5 GUI
Now Everyone Medium Highest TCO Pilot first
Position Buys
time
No % Much more proprietary than Oracle Server % Locks us in to Oracles upgrade path % Cost of 3.0 to 4.5 GUI upgrade raises fears about next major release % Tends to lag more than one technology curve % May ultimately make us dinosaurs
' Well-integrated with server ' If youre already using PL/SQL, why learn a new language? ' Maintained by very sharp people at Oracle
You WILL re-engineer Forms 3.0 apps if you want successful GUI apps. So why not consider...
Options
Forms 3.0...for a while longer Forms 4.5 Web Forms ==> Something else
Something...But What?
Discussion
Discussion
Standards- Vendors Client Based Dev2K, P-builder, some Delphi WebServer CGI w/ perl Visual Basic C++, ActiveX Java JavaScript Livewire Cold Fusion NetDynamics jdbcKona/T3
some yes de facto not class libraries de facto in progress part part part mostly one one yes one several many many one one one one prop. browser browser MS MS browser browser browser browser browser browser
Ind. Strgth
yes probably no can be can be not yet not yet close no yes not yet
Oracle WebServer
WebServer Code
SURFHGXUH WUHH LWRS LQ YDUFKDU LV FXUVRU HPSBWUHH WKLVBPJU QXPEHU LV VHOHFW HPSQRHQDPHPJUKLUHGDWHVDOFRPPOHYHOGHSWQR IURP HPS FRQQHFW E\ SULRU HPSQR PJU VWDUW ZLWK HPSQR WKLVBPJU SUHYBOHYHO QXPEHU QWRS HPSHPSQR W\SH FEXI YDUFKDU EHJLQ SURORJ
(PSOR\HH 7UHH
KWSS
6HOHFW DQ HPSOR\HH IRU GHWDLOV
LI LWRS LV QRW QXOO WKHQ QWRS WRBQXPEHULWRS HOVH QWRS FHR HQG LI IRU H LQ HPSBWUHHQWRS ORRS ZKLOH HOHYHO SUHYBOHYHO ORRS KWSXOLVW&ORVH SUHYBOHYHO SUHYBOHYHO HQG ORRS
ZKLOH HOHYHO ! SUHYBOHYHO ORRS KWSXOLVW2SHQ SUHYBOHYHO SUHYBOHYHO HQG ORRS FEXI KWIDQFKRU
KUSHUVRQ"LHPSQR
__ WRBFKDUHHPSQRLQLWFDSHHQDPH LI LVBPHHHQDPH WKHQ FEXI FEXI __
7KLV LV \RX
HQG LI LI HOHYHO WKHQ KWSKHDGHUFEXI HOVH KWSEROGFEXI KWSQO HQG LI HQG ORRS ZKLOH SUHYBOHYHO ! ORRS KWSXOLVW&ORVH SUHYBOHYHO SUHYBOHYHO HQG ORRS HSLORJ HQG
Generated HTML
+70/! +($'! 7,7/(!(PSOR\HH 7UHH7,7/(! %$6( +5() KWWSKRXDYGHPRRZDKUWUHH ! +($'! %2'<! ,0* 65& KULPJKUJLI $/7 KUJLI ERUGHU ! %5! 6HOHFW DQ HPSOR\HH IRU GHWDLOV +!$ +5() KUSHUVRQ"LHPSQR !.LQJ$!+! 8/! %!$ +5() KUSHUVRQ"LHPSQR !-RQHV$!%! %5! 8/! %!$ +5() KUSHUVRQ"LHPSQR !6FRWW$!%! %5! 8/! %!$ +5() KUSHUVRQ"LHPSQR !$GDPV$!%! %5! 8/!
WebServer Comments
Advantages ' With Designer/2000, can generate web applications* ' Allows use of PL/SQL, Java, SSI, custom via API ' WRB allows use of non-Oracle web server Disadvantages % Very low market share (0.02% on Internet) % Code-heavy % Apps may be totally locked in to Oracle % Only recently did Oracle begin using it at www.oracle.com
Terms Terms
Portable, object-oriented, adaptable programming language trademarked by Sun Client-side form allows programmatic interaction and control of web pages Server-side form of JavaScript that links Netscape web servers with database servers Java Database Connectivity: an emerging standard to link Java with databases PC software for linking JDBC calls with databases via ODBC (In work) Set of Java APIs to facilitate Java component reuse
JavaScript
LiveWire
Netscape LiveWire
LiveWire Code*
+70/! +($'! 7,7/(!0%0 &RPSXWHUV VHUYHU! LI UHTXHVWGHSWQR QXOO ZULWH 0%0 &RPSXWHUV 'HSDUWPHQW UHTXHVWGHSWQR HOVH ZULWH 0%0 &RPSXWHUV $OO 6WDII VHUYHU! 7,7/(! +($'! %2'<! VQLS
6WDII
7$%/( %25'(5! VHUYHU! LI UHTXHVWGHSWQR QXOO FXUVRU GDWDEDVHFXUVRU VHOHFW GHSWQR GHSW OQDPH __
__ IQDPH QDPH HPSQR MREBWLWOH HPDLO YRLFH IURP HPSOR\HHV RUGHU E\ GHSWQR OQDPH HOVH FXUVRU GDWDEDVHFXUVRU VHOHFW OQDPH __
__ IQDPH QDPH HPSQR MREBWLWOH HPDLO YRLFH IURP HPSOR\HHV ZKHUH GHSWQR UHTXHVWGHSWQR RUGHU E\ OQDPH VKRZ'DWDEDVH(UURU
ZULWHWU! L ZKLOHLFXUVRUFROXPQV^ ZULWHWK!FXUVRUFROXPQ1DPHLWK! L ` ZULWHWU! ZKLOHFXUVRUQH[W^ ZULWHWU! L ZKLOHLFXUVRUFROXPQV^ LIFXUVRUFROXPQ1DPHL 1$0(^ ZULWHWGQRZUDS! ZULWH$+5() ?HGLWPHKWPO"HPSQR FXUVRUHPSQR?! ZULWHFXUVRUQDPH$!WG! ` HOVHLIFXUVRUFROXPQ1DPHL (0$,/^ ZULWHWG! ZULWH$+5() ?PDLOWRFXUVRU>L@?! ZULWHFXUVRU>L@$!WG! ` HOVH ZULWHWG!FXUVRU>L@WG! L ` ` FXUVRUFORVH VKRZ'DWDEDVH(UURU VHUYHU! 7$%/(! %2'<! +70/!
Generated HTML
+70/! +($'! 7,7/(!0%0 &RPSXWHUV $OO 6WDII7,7/(! +($'! %2'<! +! $OO 6WDII +! 7$%/( %25'(5! WU!WK!'(37WK!WK!1$0(WK!WK!(0312WK! WK!-2%B7,7/(WK!WK!(0$,/WK!WK!92,&(WK! WU! WU!WG!WG! WG QRZUDS!$ +5() HGLWPHKWPO"HPSQR !67$1721 '(1,6($!WG! WG!WG! WG!%22..((3(5WG! WG!$ +5() PDLOWRGVWDQWRQ#PEPFRP !GVWDQWRQ#PEPFRP$!WG! WG!WG! WU!WG!WG! WG QRZUDS!$ +5() HGLWPHKWPO"HPSQR !%('/$0 $5&+,($!WG! WG!WG! WG!(1*,1((5WG! WG!$ +5() PDLOWRDEHGODP#KDUSRPEPFRP !DEHGODP#KDUSRPEPFRP$!WG! WG!WG! VQLS 7$%/(! %2'<! +70/!
WebLogics Approach
FVWPWUHJLVWHU2XW3DUDPHWHU 7\SHV,17(*(5 IRU LQW N N N ^ FVWPWVHW,QW N FVWPWH[HFXWH 6\VWHPRXWSULQWOQN FVWPWJHW,QW ` FVWPWFORVH
FVWPWJHW,QW
Analysis
Cool ' Database independent ' Standards-based ' Manages state (middle tier) ' No client-side extensions ' Priced per server, not per user
Not so hot % Slow (but only in beta) % No development environment other than Java % Nobodys heard of it
( dbWeb
Jet-based administration tool...yuk
Parting Thoughts