You are on page 1of 28

Degenio

MouliForms
Migration -10g Migration Oracle Oracle forms forms 6 6-10g

Introduction
Phases Phases during during forms forms conversion conversion Options Options and and Tools Tools for for conversion conversion Mouliforms Mouliforms Presentation Presentation Conversion Conversion process process with with MouliForms MouliForms Messages Messages during during conversion conversion

2
Copyright: Hafed Benteftifa june 09

Phases
Phase Phase 1 1: : Organization Organization // tracking tracking // framework framework Phase Phase 2 2: : Putting Putting in in place place the the environnement environnement // Evaluation Evaluation of of MouliForms MouliForms and and other other options options Phase Phase 3 3: : Conversion Conversion Phase Phase 4 4: : Tests Tests

3
Copyright: Hafed Benteftifa june 09

Conversion Tools
-in Forms Built Built-in Forms conversion conversion tool tool in in batch batch mode mode -in Forms Built Built-in Forms compiler compiler in in batch batch mode mode JDAPI JDAPI API API programmation/batch programmation/batch mode mode pitss-imex Available Available commercial commercial tools tools ( (pitss-imex and and others others $$$$$$$) $$$$$$$)

4
Copyright: Hafed Benteftifa june 09

JDAPI API JAVA


Update Update fonts, fonts, color color attributes attributes on on the the fly fly (visual (visual attributes) attributes) Add Add new new objects objects (example: (example: report report object) object) Flag Flag deprecated deprecated built-ins built-ins Replace Replace some some of of the the depracted depracted built-ins built-ins Replace Replace Run_Product(REPORTS) Run_Product(REPORTS) par par Run_Report_Object Run_Report_Object Attach Attach new new PLLs PLLs Detect Detect usage usage of of client client functions functions such such as as text_io, text_io, ole2, ole2, forms_ole, forms_ole, dde, dde, host(), host(), ora_ffi, ora_ffi, 5 etc. etc. Copyright: Hafed Benteftifa june 09

Changes 9i-10g
Support Support for for mouse mouse navigation navigation Support Support for for web web environment environment Support Support for for object object oriented oriented concepts concepts Update Update to to PL/SQL PL/SQL Better Better GUI GUI Better Better visual visual aspect aspect for for forms forms application application

6
Copyright: Hafed Benteftifa june 09

Conversion steps on Windows (developer machines)


Source Source code code inventory inventory Conversion Conversion

Deploy Deployto to Windows Windows (OC4J) (OC4J)

Validate Validate deployment deployment

7
Copyright: Hafed Benteftifa june 09

Preliminary steps
-10g Convert Convert PLL PLL to to 9i 9i-10g Convert Convert Object Object Libraries Libraries Convert Convert Menus Menus Prepare Prepare Jar Jar file file with with the the application application icons icons

8
Copyright: Hafed Benteftifa june 09

Potential problems 6-10g


-ins replacements Deprecated Deprecated Built Built-ins replacements Updates Updates to to the the PL/SQL PL/SQL code code Integration Integration with with Reports Reports (?) (?) : Color Visual Visual attributes attributes: Color and and fonts fonts -side functionnalities Client Client-side functionnalities

9
Copyright: Hafed Benteftifa june 09

MouliForms- some features


Based Based on on JDAPI JDAPI Batch Batch changes changes to: to:
Color Color Fonts Fonts Adding Adding new new objets objets Adding Adding new new PLLs PLLs

10
Copyright: Hafed Benteftifa june 09

Conversion options - MouliForms

11
Copyright: Hafed Benteftifa june 09

MouliForms- some features (2)


Can Can check check for for client client side side calls calls Search Search for for objects objects and and Strings Strings Modules Modules Compilation Compilation Execution Execution of of modules modules under under OC4J OC4J -the-fly Adaptation Adaptation of of WebUtil WebUtil on on-the-fly Object Object Hierarchies Hierarchies in in a a module module before and ) Comparaison Comparaison of of modules modules ( (before and after after) JAVADOC JAVADOC style style documentation documentation
12
Copyright: Hafed Benteftifa june 09

Mouliforms- the facts


Can Can perform perform several several iteration iteration on on the the same same module module Interactive Interactive tool tool Use Use a a working working directory directory for for batch batch processing processing Can Can be be extended extended by by adding adding new new migration migration rules rules Has Has some some other other modules modules that that can can be be used used during during forms forms development development
13
Copyright: Hafed Benteftifa june 09

Interface
Toolbar Toolbar with with access access to to the the most most used used functionnalities functionnalities Field Field that that shows shows the the current current work work directory. directory. A A directory directory selector selector that that shows shows all all the the available available local . local and and network network folders folders. A A panel panel that that indicates indicates the the current current modules modules being being processed . processed with with MouliForms MouliForms. Tab Tab panel panel that that shows shows the the details details of of the the process process being being carried carried out. out.
14
Copyright: Hafed Benteftifa june 09

Interface (2)

15
Copyright: Hafed Benteftifa june 09

Conversion steps
Step Step 1 1: : Select Select work work directory directory Step ) Step 2 2: : Connect Connect to to schema schema (if (if compiling compiling) Step Step 3 3: : Start Start automatic automatic conversion conversion Step Step 4 4: : Compile Compile modules modules Step Step 5 5: : Inspect Inspect form form modules modules Step Step 6 6: : Output Output conversion conversion report report

16
Copyright: Hafed Benteftifa june 09

Steps (1)

Step Step 1 1: : Select Select work work directory directory


17
Copyright: Hafed Benteftifa june 09

Steps (2)

Step ) Step 2 2: : Connect Connect to to schema schema (if (if compiling compiling)
18
Copyright: Hafed Benteftifa june 09

Steps (3)

Step Step 3 3: : Start Start automatic automatic conversion conversion


19
Copyright: Hafed Benteftifa june 09

Steps (4)

Step Step 4 4: : Compile Compile modules modules


20
Copyright: Hafed Benteftifa june 09

Steps (5)

Step Step 5 5: : Inspect Inspect form form modules modules


21
Copyright: Hafed Benteftifa june 09

Steps (6)

Step Step 6 6: : Output Output conversion conversion report report


22
Copyright: Hafed Benteftifa june 09

Messages in MouliForms

Listing Listing of of modules modules during during conversion conversion with with total total of of current current changes changes made made to to each each module module
23
Copyright: Hafed Benteftifa june 09

Messages in MouliForms (2)

Message Message related related to to a a deprecated deprecated forms forms trigger. trigger. A A dialog dialog is is shown shown with with the the PL/SQL PL/SQL code. code. Code Code inspection inspection is is required required before before asking asking MouliForms MouliForms to to keep keep or or delete delete 24 trigger. the the trigger. Copyright: Hafed Benteftifa june 09

Messages in MouliForms (3)

Processing Processing steps steps shown shown in in the the bottom bottom tab. tab.
25
Copyright: Hafed Benteftifa june 09

Messages in MouliForms (4)

Processing Processing steps steps are are shown shown for for each each module module in in this this tab. tab. All All the the specifics specifics changes changes are are shown shown here . here.
26
Copyright: Hafed Benteftifa june 09

Messages in MouliForms (5)

Processing Processing steps steps on on one one module module after after you you select select it it from from the the output output table. table. Dtails Dtails are are shown shown in in this this tab. tab.
27
Copyright: Hafed Benteftifa june 09

Conclusion
MouliForms MouliForms can can handle handle around around 90% 90% of of the the conversion conversion needs needs from from 6 6 to to 10g 10g Some Some bugs bugs still still there there related related to to the the UI UI and and messages messages display. display.

28
Copyright: Hafed Benteftifa june 09

You might also like