JHeadstart Forms2ADF Generator – Migrating from Oracle Forms to a Best-Practice ADF application

4,113 views
3,922 views

Published on

Published in: Technology
0 Comments
7 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,113
On SlideShare
0
From Embeds
0
Number of Embeds
38
Actions
Shares
0
Downloads
388
Comments
0
Likes
7
Embeds 0
No embeds

No notes for slide
  • Competitors like JAutomator do migrate All PL/SQL Logic At expense of sound J2EE architecture Forms triggers / built-ins rebuilt in Java ... No JSP/UIX, No Struts, No ADF Model Layer
  • JHeadstart Forms2ADF Generator – Migrating from Oracle Forms to a Best-Practice ADF application

    1. 1. <Insert Picture Here>JHeadstart Forms2ADF Generator – Migrating fromOracle Forms to a Best-Practice ADF applicationSteven DavelaarOracle Consulting
    2. 2. Agenda• What is JHeadstart?• Demo: JHeadstart Forms2ADF Generator• Demo: Modifying migration result• Demo: OraFormsFaces• Case Studies
    3. 3. Before we start – Define a Forms modernization strategy!• Where are we now? • Analyze current situation• Where do we want to go? • Identify top business drivers / business benefits• How do we want to go? • Identify and choose modernization options• What do we need to do when and with whom? • Define modernization approach/timeline/project plan
    4. 4. What is JHeadstart?• JDeveloper extension for template-based automation of ADF development tasks • Development Toolkit on top of ADF • Builds on ADF Runtime architecture • Fully integrates with ADF Design Time• Takes declarative development to the next level • Generates complete ADF applications • Like the Designer Forms Generator generates Forms apps, JHeadstart generates ADF apps• Transforms Oracle Forms into ADF applications
    5. 5. JHeadstart – Main Components• JHeadstart Application Generator (JAG) • Generates best-practice web application• JHeadstart Utilities • Automate other ADF development tasks • Perform quality checks• JHeadstart Runtime • Reusable components to implement complex functionality • Auto-implements host of best practices• JHeadstart Forms2ADF Generator • Create fully-functional ADF app based on forms definitions• JHeadstart Developer’s Guide
    6. 6. Application Application Generation Definition Definition ProcessJHeadstart JSF JSP JSF JSP ADF Faces ViewApplication ADF Faces Definition Wizard JSF+ADFc JSF+ADFc Controller ADF BC ADF BC ADF Model ADF Model metadata metadata Data Bindings Data Bindings Model Data Controls Data Controls ADF ADF ADF Business ADF Business Business Business Business Services Components Components Components Components JDeveloper ADF BC Wizard
    7. 7. Application Application Definition DefinitionJHeadstart JSF JSP JSF JSP ADF Faces ViewApplication ADF Faces Definition Wizard JSF JSF Controller ADF BC ADF BC ADF Model ADF Model metadata metadata Data Bindings Data Bindings Model Data Controls Data Controls ADF ADF ADF Business ADF Business Business Business Business Services Components Components Components Components JDeveloper ADF BC Wizard
    8. 8. Application Application Generator Generator Generation Definition Definition Templates Templates ProcessJHeadstart JSF JSP JSF JSP JSF JSP JSF JSP ADF Faces ViewApplication ADF Faces ADF Faces ADF Faces Definition Wizard JSF JSF Controller JSF+ADFc JSF+ADFc ADF BC ADF BC ADF Model ADF Model ADF Model ADF Model metadata metadata JHeadstart Data Bindings Data Bindings Model Application Data Bindings Data Bindings Generator Data Controls Data Controls Data Controls Data Controls ADF ADF ADF Business ADF Business Business Business Business Services Components Components Components Components JDeveloper ADF BC Wizard
    9. 9. Forms2ADF Application Application Definition Definition Generation Process Form Form (.fmb) JSF JSP JSF JSP Form (.fmb) ADF Faces View Form ADF Faces (.fmb) (.fmb) JSF + ADFc JSF + ADFc Controller ADF Model ADF Model Data Bindings Data Bindings Model Data Controls Data Controls JHeadstartForms2ADF ADF ADF ADF Business ADF Business Business Business Services Generator Business Components Components Components Components
    10. 10. Application Application Generation Definition Definition Process Form Form (.fmb) JSF JSP JSF JSP Form (.fmb) ADF Faces View Form ADF Faces (.fmb) (.fmb) JSF JSF Controller ADF Model ADF Model Data Bindings Data Bindings Model Data Controls Data Controls JHeadstart ADF ADFForms2ADF ADF ADF Business Business Business Business Services Generator Business Components Components Components Components
    11. 11. Forms2ADF Application Application Generator Generator Definition Definition Templates Templates Generation Process Form Form (.fmb) JSF JSP JSF JSP JSF JSP Form (.fmb) JSF JSP View Form (.fmb) ADF Faces ADF Faces ADF Faces ADF Faces (.fmb) JSF JSF Controller JSF+ADFc JSF+ADFc ADF Model ADF Model ADF Model ADF Model JHeadstart Data Bindings Data Bindings Model Application Data Bindings Data Bindings Generator Data Controls Data Controls Data Controls Data Controls JHeadstart ADF ADFForms2ADF ADF ADF Business Business Business Business Services Generator Business Components Components Components Components
    12. 12. D E M O N S T R A T I O N Forms2ADF Generator
    13. 13. Architecture OCM Demo Web Browser JSP JSF JSF Oracle Oracle10g Forms Server Application ADF Data Binding Server ADF Bus. Comp. CDM RuleFrame Oracle10g Data Database
    14. 14. JHeadstart Forms2ADF Generator• Generates ADF Business Components based on Forms Data Usages • ADF BC Entity Objects created for used tables • ADF BC View Objects created for blocks and record group queries • Query Bind parameters created based on references to :block.item • Model LOV’s created for each LOV / Record Group • ADF BC Application Module created for each form• Extracts Forms User Interface Definitions into JHeadstart Application Definition • Groups created for each block • Group Items created for each item in a block • (Stacked) region containers and regions created based on item placement on (tabbed) canvasses and within framed graphics • Domains created based on forms item allowable values • PL/SQL logic copied as “documentation” nodes
    15. 15. Generated ADF Business Components
    16. 16. Generated Application Definition
    17. 17. Oracle Forms Screen
    18. 18. JHeadstart Generated ADF/JSF Page
    19. 19. Oracle Forms Screen
    20. 20. JHeadstart Generated ADF/JSF Page
    21. 21. Oracle Forms Screen
    22. 22. JHeadstart Generated ADF/JSF Page
    23. 23. Oracle Forms Screen
    24. 24. JHeadstart Generated ADF/JSF Page
    25. 25. What about PL/SQL Logic?• Custom PL/SQL Logic not automatically migrated to Java• JHeadstart prefers sound multi-tier target architecture (ADF MVC) above automated PL/SQL migration • Analyze the logic • Determine in which tier(s) it should be implemented • Determine how to implement it• Application Definition Editor shows all form, block and item triggers and all program units • Good overview of all custom PL/SQL logic • Ability to move logic to database, to ADF BC or to JSF managed beans
    26. 26. PL/SQL Code in Appl. Definition Editor
    27. 27. Forms2ADF Generator - Benefits• Auto-created ADF Business Components, including model- based LOV’s and UI Hints• Migrates Forms user interface to metadata, not application code! • Easy to redesign into task-oriented web 2.0 user interface.• JFG provides most savings for forms with • Standard data blocks based on table or view • Complex user interface: many (stacked) canvasses, tabs, LOV’s, and other display types • PL/SQL logic mostly limited to user interface dynamics• Best Practice ADF architecture (see slides later on)
    28. 28. D E M O N S T R A T I O NModifying Migration Results
    29. 29. JHeadstart Uses Best Practice ADFDesign Patterns• “One-page” application (UIShell) • Generated bounded task flows use page fragments and can be embedded as ADF region in page • One page with dynamic region driven by application menu• Generated task flows are highly reusable • Use with traditional menu structure • Use with dynamic tabs • Use in handbuilt drag-and-drop pages • Use as child within another region • Use with human workflow task list • Use as popup / list of values • Use as WebCenter portlet • Add at runtime using WebCenter Composer
    30. 30. JHeadstart Uses Best Practice ADFDesign Patterns• Generated task flows are highly configurable • Configure to start in create mode (new row) • Configure to show one specific row (deeplinking) • Configure to go to summary or detail page • Configure to hide action buttons (Save, Cancel, Nav. Buttons) • Configure to hide search region • Configure to show in read-only mode• Generates layout best practices • Easy switching between stretching and non-stretching layouts• Region interaction design patterns are auto- implemented
    31. 31. Configurable TaskFlows Generated• Taskflow Template Parameters• Taskflow Parameters
    32. 32. Configurable Task Flows Generated
    33. 33. JHeadstart Superior Productivity – In Many Ways• Saves you months to figure out ADF best practices• Saves you months with ready-to-use reusable components• Maximizes reuse • JAG is actually RTG: Reusable Taskflows Generator• Facilitates agile development • Start with generating functional prototypes that evolve into working system• Eases upgrade to new JDeveloper releases • Technology-agnostic metadata layer!
    34. 34. <Insert Picture Here>OraFormsFaces
    35. 35. OraFormsFaces• Third party product supplied by Commit Consulting• Allows reuse of existing Forms as full featured JSF components• Two-way communication between forms and ADF Faces web pages• Allows for incremental migration to ADF/SOA world
    36. 36. JHeadstart OraFormsFaces Generator• JHeadstart accelerates use of OraFormsFaces • Generate pages with embedded Form components using Item display type “OraFormsFaces” • Easy deeplinking into Oracle Forms • Generate Create, Delete, Save buttons that call out to embedded Oracle Form • Add security to JSF pages holding Forms Components
    37. 37. D E M O N S T R A T I O N OraFormsFaces
    38. 38. Integration JHeadstart - OraFormsFaces
    39. 39. Setting up Deeplinking between ADFPage and Oracle Form
    40. 40. Setting up Deeplinking between ADFPage and Oracle Form
    41. 41. Setting up Deeplinking between ADFPage and Oracle Form
    42. 42. Integration JHeadstart – OraFormsFacesDeeplinking JSF Page and Oracle Form
    43. 43. Integration JHeadstart – OraFormsFacesDeeplinking JSF Page and Oracle Form
    44. 44. <Insert Picture Here>Forms2ADF CaseStudies
    45. 45. Finland - Financial Institution• Why Forms2ADF • Performance problems with Forms over WAN • Problems with Java applet due to different Java versions in browser• Architecture Forms App • Simple user interface • Complex data retrieval: DB procs populate temp tables or record groups • Complex data manipulation through DB procs • Complex mexhanism to call reports through DBMS_PIPE with polling mechanism• Added Value JHeadstart Forms2ADF Generator • None
    46. 46. Finland - Financial Institution• Customer Impressed with Added Value ADF and JHeadstart • Dynamic form rebuilt in ADF in three hours with much cleaner architecture • Polling requirement: 15 minutes work with standard ADF Faces components • ADF Business Components well suited to reuse existing SQL statements • Reuse capabilities of ADF task flows • Clean MVC architecture• Customer strongly considers to move to ADF and JHeadstart, has to do strategic thinking first!
    47. 47. Netherlands - ISV• Why Forms2ADF • Wants to add self service capabilities to core app • Wants modern user interface• Architecture Forms App • Complex user interface, many tabs, many items on canvas • Standard data retrieval and manipulation • Most business logic in database• Added Value JHeadstart Forms2ADF Generator • Business Components auto-created based on forms definitions (1 form resulted in 162 business components) • Migrated metadata strongly modified to generate new user interface
    48. 48. Netherlands – Government IT Department• Why Forms2ADF • Forms 4.5 and DB 8.1.7 no longer supported • System integration dificult because of old/obsolete technology • Character-based user interface, end users complain • High maintenance cost • Hard to find resources skilled with older Forms versions• Architecture Forms App • Character-based 24*80 screens • Standard data retrieval and manipulation • Most business logic in forms• Added Value JHeadstart Forms2ADF Generator • Business Components auto-created based on forms definitions, inclusing UI labels derived from boilerplate text • Migrated screens generated with minor changes to metadata • Amount of UI redesign to be decided
    49. 49. Netherlands – Government IT Department• Migrated ADF 11 prototype used to create enthousiasm and gain credibility in organisation• Existing Forms developers keen to learn ADF• JHeadstart Migration Estimating Utility generates excel sheet with estimates based on forms characteristics • Used to provide insight in total migration effort
    50. 50. Forms2ADF - Recommendations• Think Big - Start Small• Make a roadmap for your Forms app • Review Architecture of your Forms app • Review Business and Functional requirements • How does it fit in your overall IT landscape• Start Forms to Oracle ADF Assessment / Proof of Concept• Start SOA Maturity Assessment
    51. 51. JHeadstart – Next Steps• Get more info at “JHeadstart Product Center” (google): • Developer’s guide • Tutorial • Online Forms2ADF demonstrations • Customer success stories • Frequently asked questions• Evaluate JHeadstart • JDeveloper Help -> Check for Updates -> Open Source and Partner Extensions • Do the tutorial• Buy JHeadstart• Ask additional questions at OTN JHeadstart Discussion Forum or email idevcoe_nl@oracle.com

    ×