• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Real life forms to adf

Real life forms to adf



Are you currently running Oracle Forms and are you thinking about beginning an Oracle ADF project, or are you about to start Oracle Forms modernization to Oracle ADF? ...

Are you currently running Oracle Forms and are you thinking about beginning an Oracle ADF project, or are you about to start Oracle Forms modernization to Oracle ADF?
As a consulting company we have been involved in dozens of modernization projects.
There are valuable tips and tricks that you can learn from.
From teams setup to technical best practices, and from automated migration to manual rebuild.
What is the best way to setup a team ?
Where to start ?
What to do, and more important, what not to do ?
Can you reuse existing Business Rules ?
What about layout and user interaction ?
What do you need to know ?
In this session you will see a top 10 of lessons learned when going from Oracle Forms to Oracle ADF.



Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    Real life forms to adf Real life forms to adf Presentation Transcript

    • Luc Bors, 26-mar-2013, OBUG Connect Antwerpen10 lessons learnedReal Life Forms to ADF
    • Who Am I• Luc Bors• Principal Consultant• AMIS Nieuwegein Netherlands• Friends of Oracle & Java• 5 Oracle ACE(D)• Oracle Partner
    • Where Are You Now ?• HUGE Forms investment• Mission critical, complex systems• Low maintenance, stable system for over 10 years• Mostly undocumented systems• VERY fast productive development• Trained developer pool• Looking to leverage the existing investment
    • Where Do We Want to Go ?
    • Some Modernization Projects
    • Most Recent Project• Ministry of Security and Justice• Application >20 years old• Decentralized architecture (19x)• Approx. 2.000 users• 1 million cases per year• 10.000-15.000 letters per day
    • Modernization Project Triggers• Very old technical environment(end-of-life)• Maintenance is expensive• Staffing is difficult• Architecture not flexible• Need to be ready for the future
    • Distributed Architecture• 19 distributed implemenations• 1 central implemenation• Less Hardware• Less Administrators• Less Duplicate Data• More Insight• More Control
    • Centralized system
    • Forms Application• Forms 4.5 / Reports 2.5• Character mode• Terminal Emulation• Enables Macros !• Desupport 31 December 2003• Runs since 1991 …
    • Not Really Web 2.0 ……………
    • Web 2.0 !
    • Web 2.0 !
    • IST - SOLL• Character Mode• Distributed• Data Duplication• 250 Modules• 90 Reports• 15’’ Monitors• Application• Web Technology• Centralized• Data Standardization• < 100 Modules• 50 Reports• 24’’ Monitors• Platform
    • What did we Learn ?
    • Lesson 1: The Right Size• Think Big Start Small.• Don’t be Tempted.• Use Small PoC !
    • Lesson 1: The Right Size
    • Lesson 1: The Right Size• Application Architecture• Taskflow with page fragment and perTaskflow 1 page with 1 static region• All in one big workspace– Or• Taskflow with page fragment and perApplication 1 page with 1 dynamicregion• Use separate workspaces
    • Lesson 2 : Don’t Copy Paste• Migrate “As-is” …… ??• Don’t try to copy forms functionality– Know your ADF Faces Components• Forms Built-ins are not available in ADFand PL/SQL is not Java. Your options:– Whenever possible• transfer to DB– Whenever lucky• Use a declarative or zero code ADF Alternative– Otherwise• Code Java Alternative
    • Lesson 2 : Don’t Copy Paste• Forms code for:– Buttons– Canvasses– Navigation• ADF code for:– None of the above
    • Lesson 3 : Involve People• Grumpy Old Men• Talk with all People involved inthe project• Let them know what you aredoing• Let them decide what goes inand what not
    • Lesson 3 : Involve People• Include operational team• Infrastructure (DTAP) : Ready on Time• Don’t underestimate WebLogic configuration• SSO via MS-AD
    • Lesson 4 : Hire Experts• Training is not enough.• Steep learning curve– Don’t mix in regular work– Long “Conscious Incompetence”phase: motivational dip• Hire Experts 012345Week1Week20Week30Week40Week52NextYearEvenLaterImaginary ADF LearningCurve
    • Lesson 4 : Hire Experts“The cheapest ADF Consultant isthe one with the highest hourly rate”
    • Lesson 5: Planning & Process• Scrum• Predictable Results• Short Cycles
    • Lesson 5: Planning & Process• Short Development Cycles– Easy to Adjust– Easy to Demo– Nearby GoalsSprint 1 Sprint 2 Sprint 32 weeks 2 weeks 2 weeksDemoDemoDemo
    • Lesson 6 : Think Performance• Performance First, not Last• Might look good, however….• Consider Tools• …. And Watch Now Carefully !
    • Lesson 6 : Think Performance• ViewObject queries caused by unintentionally left iterators in pageDefs• Iterator bindings can still be refreshed and the ViewObjectunnecessary executed - for example when you have Refresh=“ifNeeded”)
    • Lesson 6 : Think Performance• Oracle’s Default Values Do NotAlways Rock !– ViewObject fetchMode andfetchSize are underestimatedproperties and have bigperformance impact– The default value is 1 - will givepoor performance (unless only onerow will be fetched)
    • Lesson 6 : Think Performance• Too much data in ADFBC memory…………..• Try to avoid loading more database rows than you need• Be careful if you really do need to load a proportional numberof database rows
    • Lesson 6 : Think Performance
    • Lesson 7: Business Rules• The $ 1.000.000 Question
    • Lesson 7: Business Rules• Business Components is not Always the Best Place !• For employees with a Job (attribute value) equal toSALESMAN the value of the Salary attribute should not behigher than 2500.• The difference between the maximum salary for allemployees with the same job and their average salary maynot exceed 30% of the average salary
    • Lesson 7: Business RulesHey, I can do ADF !We can’t……….….. But we can doPL/SQL
    • Lesson 8: Documentation ?
    • Lesson 8: Documentation !• *.fmb are not Documentation !• Provide proper Documentation• It is a Valid Investment• Create a Cookbook– Architectural issues– Development How to‘s
    • Lesson 9: Automated Migration• Automated migration is not easy.– You can run into issues that an automated tool cannot handle– You still need to re-code forms triggers (PL/SQL)• JHeadstart Forms2ADF ?– Not Really on Option• Automated migration doesn’t exist.
    • Lesson 10: Keep up the Pace
    • Lesson 10: Keep up the Pace• Service Oriented Architecture• Business Process Management• Service Bus• Mobile
    • Lesson 10: Keep up the Pace
    • Summary• Lesson 1: The Right Size• Lesson 2: Don’t Copy Paste• Lesson 3: Involve People• Lesson 4: Hire Experts• Lesson 5: Planning & Process• Lesson 6: Think Performance• Lesson 7: Business Rules• Lesson 8: Documentation• Lesson 9: No Automation• Lesson 10: Keep Up the Pace
    • Luc Bors, AMIS, The NetherlandsLuc.Bors@amis.nlLucBors@gmail.comFollow me on : @lucb_