MMoouulliiFFoorrmmssdegenio.com/index_files/mouliforms/presentation_mouliforms_english.p… ·...
Transcript of MMoouulliiFFoorrmmssdegenio.com/index_files/mouliforms/presentation_mouliforms_english.p… ·...
DegenioDegenio
MouliFormsMouliForms
Migration Oracle forms 6-10gMigration Oracle Migration Oracle formsforms 66--10g10g
22© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
IntroductionIntroduction
•Phases during forms conversion•Options and Tools for conversion•Mouliforms Presentation•Conversion process with MouliForms•Messages during conversion
••Phases Phases duringduring formsforms conversionconversion
••Options and Tools for conversionOptions and Tools for conversion
••MouliformsMouliforms PresentationPresentation
••Conversion Conversion processprocess withwith MouliFormsMouliForms
••Messages Messages duringduring conversionconversion
33© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
PhasesPhases
•Phase 1 : Organization / tracking / framework•Phase 2 : Putting in place the environnement / Evaluation of MouliForms and other options•Phase 3 : Conversion•Phase 4 : Tests
••Phase 1Phase 1 : : OrganizationOrganization / / trackingtracking / / frameworkframework
••Phase 2Phase 2 : Putting in place the environnement : Putting in place the environnement / / EvaluationEvaluation of of MouliFormsMouliForms and and otherother optionsoptions
••Phase 3Phase 3 : Conversion: Conversion
••Phase 4Phase 4 : Tests: Tests
44© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Conversion ToolsConversion Tools
•Built-in Forms conversion tool in batch mode•Built-in Forms compiler in batch mode•JDAPI API programmation/batch mode•Available commercial tools (pitss-imexand others $$$$$$$)
••BuiltBuilt--inin FormsForms conversion conversion tooltool in batch in batch modemode
••BuiltBuilt--inin FormsForms compiler in batch modecompiler in batch mode
••JDAPI API programmation/batch modeJDAPI API programmation/batch mode
••AvailableAvailable commercial commercial toolstools ((pitsspitss--imeximexand and othersothers $$$$$$$)$$$$$$$)
55© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
JDAPI API JAVAJDAPI API JAVA
• Update fonts, color attributes on the fly(visual attributes)
• Add new objects (example: report object)• Flag deprecated built-ins• Replace some of the depracted built-ins• Replace Run_Product(REPORTS) par
Run_Report_Object• Attach new PLLs• Detect usage of client functions such as
text_io, ole2, forms_ole, dde, host(), ora_ffi, etc.
• Update fonts, color attributes on the fly(visual attributes)
• Add new objects (example: report object)• Flag deprecated built-ins• Replace some of the depracted built-ins• Replace Run_Product(REPORTS) par
Run_Report_Object• Attach new PLLs• Detect usage of client functions such as
text_io, ole2, forms_ole, dde, host(), ora_ffi, etc.
66© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Changes 9i-10gChanges 9i-10g
•Support for mouse navigation•Support for web environment•Support for object oriented concepts•Update to PL/SQL•Better GUI•Better visual aspect for forms application
••Support for mouse navigationSupport for mouse navigation
••Support for web Support for web environmentenvironment
••Support for Support for objectobject orientedoriented conceptsconcepts
••Update to PL/SQLUpdate to PL/SQL
••BetterBetter GUIGUI
••BetterBetter visualvisual aspect for aspect for formsforms applicationapplication
77© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Conversion steps on Windows (developer machines)
Conversion steps on Windows (developer machines)
Source code
inventory
Source code
inventory
ConversionConversion
Deploy to Windows
(OC4J)
Deploy to Windows
(OC4J)Validate
deployment
Validate
deployment
88© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Preliminary stepsPreliminary steps
•Convert PLL to 9i-10g•Convert Object Libraries•Convert Menus•Prepare Jar file with the application icons
••ConvertConvert PLL to 9iPLL to 9i--10g10g
••ConvertConvert Object Object LibrariesLibraries
••ConvertConvert MenusMenus
••PreparePrepare Jar file Jar file withwith the application the application iconsicons
99© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Potential problems 6-10gPotential problems 6-10g
•Deprecated Built-ins replacements •Updates to the PL/SQL code•Integration with Reports (?)•Visual attributes: Color and fonts•Client-side functionnalities
••DeprecatedDeprecated BuiltBuilt--insins replacements replacements
••Updates to the PL/SQL codeUpdates to the PL/SQL code
••IntegrationIntegration withwith Reports (?)Reports (?)
••Visual Visual attributesattributes: : ColorColor and fontsand fonts
••ClientClient--sideside functionnalitiesfunctionnalities
1010© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
MouliForms- some featuresMouliForms- some features
•Based on JDAPI•Batch changes to:
– Color– Fonts– Adding new objets– Adding new PLLs
••BasedBased on JDAPIon JDAPI
••Batch changes to:Batch changes to:– Color– Fonts– Adding new objets– Adding new PLLs
1111© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Conversion options - MouliFormsConversion options - MouliForms
1212© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
MouliForms- some features (2)MouliForms- some features (2)
•Can check for client side calls•Search for objects and Strings•Modules Compilation•Execution of modules under OC4J•Adaptation of WebUtil on-the-fly•Object Hierarchies in a module•Comparaison of modules (before and after)•JAVADOC style documentation
••Can Can checkcheck for client for client sideside callscalls
••SearchSearch for for objectsobjects andand StringsStrings
••Modules CompilationModules Compilation
••ExecutionExecution ofof modules modules underunder OC4JOC4J
••Adaptation Adaptation ofof WebUtilWebUtil onon--thethe--flyfly
••ObjectObject HierarchiesHierarchies in a modulein a module
••Comparaison Comparaison ofof modules (modules (beforebefore andand afterafter))
••JAVADOC style documentationJAVADOC style documentation
1313© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Mouliforms- the factsMouliforms- the facts
•Can perform several iteration on the samemodule•Interactive tool•Use a working directory for batch processing•Can be extended by adding new migration rules•Has some other modules that can be usedduring forms development
••Can Can performperform severalseveral iterationiteration on the on the samesamemodulemodule
••Interactive Interactive tooltool
••Use a Use a workingworking directory for batch directory for batch processingprocessing
••Can Can bebe extendedextended by by addingadding new migration new migration rulesrules
••Has Has somesome otherother modules modules thatthat cancan bebe usedusedduringduring formsforms developmentdevelopment
1414© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
InterfaceInterface
•Toolbar with access to the most usedfunctionnalities•Field that shows the current work directory.•A directory selector that shows all the availablelocal and network folders.•A panel that indicates the current modules beingprocessed with MouliForms.•Tab panel that shows the details of the processbeing carried out.
••ToolbarToolbar withwith accessaccess to the to the mostmost usedusedfunctionnalitiesfunctionnalities
••Field Field thatthat shows the shows the currentcurrent workwork directory.directory.
••A directory A directory selectorselector thatthat shows all the shows all the availableavailablelocal and network local and network foldersfolders..
••A panel A panel thatthat indicatesindicates the the currentcurrent modules modules beingbeingprocessedprocessed withwith MouliFormsMouliForms..
••Tab panel Tab panel thatthat shows the shows the detailsdetails of the of the processprocessbeingbeing carriedcarried out.out.
1515© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Interface (2)Interface (2)
1616© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Conversion stepsConversion steps
Step 1 : Select work directoryStep 2 : Connect to schema (if compiling)Step 3 : Start automatic conversionStep 4 : Compile modules Step 5 : Inspect form modulesStep 6 : Output conversion report
StepStep 11 : Select : Select workwork directorydirectory
StepStep 22 : : ConnectConnect to to schemaschema (if (if compilingcompiling))
StepStep 33 : Start : Start automaticautomatic conversionconversion
StepStep 44 : Compile modules : Compile modules
StepStep 55 : : InspectInspect formform modulesmodules
StepStep 66 : Output conversion report: Output conversion report
1717© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Steps (1)Steps (1)
Step 1 : Select work directoryStepStep 11 : Select : Select workwork directorydirectory
1818© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Steps (2)Steps (2)
Step 2 : Connect to schema (if compiling)StepStep 22 : : ConnectConnect to to schemaschema (if (if compilingcompiling))
1919© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Steps (3)Steps (3)
Step 3 : Start automatic conversionStepStep 33 : Start : Start automaticautomatic conversionconversion
2020© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Steps (4)Steps (4)
Step 4 : Compile modules StepStep 44 : Compile modules : Compile modules
2121© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Steps (5)Steps (5)
Step 5 : Inspect form modulesStepStep 55 : : InspectInspect formform modulesmodules
2222© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Steps (6)Steps (6)
Step 6 : Output conversion reportStepStep 66 : Output conversion report: Output conversion report
2323© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Messages in MouliFormsMessages in MouliForms
Listing of modules during conversion with total of current changes made to each moduleListing of modules Listing of modules duringduring conversion conversion withwith total total of of currentcurrent changes made to changes made to eacheach modulemodule
2424© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Messages in MouliForms (2)Messages in MouliForms (2)
Message related to a deprecated forms trigger. A dialogis shown with the PL/SQL code. Code inspection isrequired before asking MouliForms to keep or deletethe trigger.
Message Message relatedrelated to a to a deprecateddeprecated formsforms trigger. A trigger. A dialogdialogisis shownshown withwith the PL/SQL code. Code inspection the PL/SQL code. Code inspection isisrequiredrequired beforebefore askingasking MouliFormsMouliForms to to keepkeep or or deletedeletethe trigger.the trigger.
2525© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Messages in MouliForms (3)Messages in MouliForms (3)
Processing steps shown in the bottom tab.ProcessingProcessing stepssteps shownshown in the in the bottombottom tab.tab.
2626© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Messages in MouliForms (4)Messages in MouliForms (4)
Processing steps are shown for each module in this tab. All the specifics changes are shownhere.
ProcessingProcessing stepssteps are are shownshown for for eacheach module in module in thisthis tab. All the tab. All the specificsspecifics changes are changes are shownshownherehere..
2727© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
Messages in MouliForms (5)Messages in MouliForms (5)
Processing steps on one module after you select itfrom the output table. Détails are shown in this tab. ProcessingProcessing stepssteps on one module on one module afterafter youyou select select ititfromfrom the output table. Détails are the output table. Détails are shownshown in in thisthis tab. tab.
2828© Copyright: © Copyright: HafedHafed BenteftifaBenteftifa junejune 0909
ConclusionConclusion
•MouliForms can handle around 90% ofthe conversion needs from 6 to 10g•Some bugs still there related to the UI and messages display.
••MouliFormsMouliForms cancan handlehandle aroundaround 90% 90% ofofthethe conversion conversion needsneeds fromfrom 6 to 10g6 to 10g
••SomeSome bugs bugs stillstill therethere relatedrelated to to thethe UI UI andand messages display.messages display.