Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Forms, ADF and JET a Non-Aggression Pact


Published on

Experiences of designing and maintaining production systems where Oracle Forms and ADF technologies coexist.
ADF-Forms integration patterns: authentication, database connection pooling, menus, session timeout. Forms developer’s perspective: life after learning ADF.

Published in: Internet
  • Login to see the comments

Forms, ADF and JET a Non-Aggression Pact

  1. 1. Forms, ADF and JET a Non- Aggression Pact Florin Marcus
  2. 2. Company Profile
  3. 3. Agenda
  4. 4. What customers dislike about ADF?
  5. 5. What customers like about ADF?
  6. 6. What customers like about ADF?
  7. 7. What customers like about ADF?
  8. 8. Monitoring Performance
  9. 9. Forms and ADF Who integrates Forms and ADF?
  10. 10. Who integrates Forms and ADF?
  11. 11. ADF - Oracle Metadata Services
  12. 12. Java Plugin disconntinued Consequences for Forms-ADF integration
  13. 13. ADF- Forms UI integration
  14. 14. ADF- Forms UI integration
  15. 15. ADF- Forms UI integration
  16. 16. ADF- Forms UI integration
  17. 17. Oracle JET Why Another Web Framework?
  18. 18. Oracle JET Javascript Framework Consumes REST/JSON Open Source No tooling support
  19. 19. Traditional System Architecture on Web User Cache 1. Minimises database round-trips 2. Holds not committed information
  20. 20. Javascript Framework System Architecture User Cache in browser solutions: 1. HTML5 LocalStorage 2. IndexedDB
  21. 21. JET vs ADF Advantages of Oracle JET Public facing websites Live data (ref#2) High Availability support (out of the box) Advantages of Oracle ADF Full development stack Versatile Superior at PL SQL integration Great for code generation Tooling support (building your own wizards) - todo DB Validator wizard
  22. 22. Building Your Own JDev wizards Declarative PL SQL calls ROWTYPE support
  23. 23. Forms, ADF and JET Business Integration patterns
  24. 24. Business Integration patterns Database remains the Best Place for business rules
  25. 25. Business Integration patterns Advantages ● ‘The Standard’ for Webapps ● Scales very well ● Both JET and ADF supports it. Disadvantages ● Limitations on reusing Form’s PL SQL code (no ‘post changes’) Both ADF and JET supports it Stateless Connections
  26. 26. Business Integration patterns Same connection is Guaranteed for the duration of user session. Widely regarded as ‘Unacceptable’ - up until Websockets. Fits the same transaction lifecycle as Oracle Forms, allows for conversational state with PL SQL. Supported by ADF only Stateful Connections
  27. 27. Websockets and database connections Pessimistic Locking using Websockets #REF1
  28. 28. Business Integration patterns Best approach for PL SQL logic reuse in ADF: Use Stateless Connection on landing pages, menus, dashboards, search screens. Switch to Stateful Connection when editing data (data input screens) .
  29. 29. Learning ADF Journey from Forms to ADF
  30. 30. Learning ADF 3 Programming Languages: Java, Javascript, Groovy 4 Major Java EE technologies: Servlets, Java Server Faces, JDBC ADF is build on top of:
  31. 31. Learning ADF
  32. 32. Learning ADF Learning the whole ADF Stack may prove a challenge for the most talented Forms Developer. Initially, separate the team into roles: A. Business Developers (PL SQL, ADF Business Components) B. Web Developers (UI) Conclusions
  33. 33. References Oracle ADF; jsessionid=6R39V8WhqTQ7HMb2vTQTkzbP5XRFgs4RQzyxQ7fqxH9y6p6vKXk4!-460884186 Oracle JET ADF Insider Essentials ADF Architecture TV
  34. 34. References #ref1 Saving ADF Queries #ref2: Websocket Notification on Browser Disconnects #ref3: Stateful/Stateless Connection Switch #ref4: Oracle JET Live data Oracle ADF Live data