1 / 34

Grant Ronald Principal Product Manager

Grant Ronald Principal Product Manager. JDeveloper and ADF for Forms Developers: Taking it to the next level. Agenda. What you should know What this presentation is What this presentation isn’t! Getting into the code Extending the business logic Common “Forms trigger” points

saeran
Download Presentation

Grant Ronald Principal Product Manager

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Grant RonaldPrincipal Product Manager

  2. JDeveloper and ADF for Forms Developers: Taking it to the next level

  3. Agenda • What you should know • What this presentation is • What this presentation isn’t! • Getting into the code • Extending the business logic • Common “Forms trigger” points • Searching and querying • Calling a stored procedure from ADF BC • Extending the user interface • Conditional page flow • Stacked canvases

  4. What You Should Know • JDeveloper • ADF • ADF Business Components • JSF

  5. JSP Metadata Services (MDS) Packaged Apps LegacyData XML Data Relational Data ADF Architecture ADFSwing JSF/ADF Faces View Struts JSF Controller ADF Data Binding/ Data Control Model(JSR 227) PortletsJSR-168WSRP Java Classes ADF Business Components WebServices EJB Business Services Toplink Data Source

  6. Customer CustView CustView OrdView Order OrdView OrdView LineItem Application Module View Objects Entity Objects ADF Business Components

  7. Getting into the code • ADF BC doesn’t “generate code” • “default” XML definition • Allows you to expose more and more of the implementation code

  8. Getting into the code • Exposing code in the Entity Object

  9. Getting into the code • Exposing code in the View Object

  10. Getting into the code • Exposing code in the Application Module

  11. Common “Forms Trigger” points • Validation • When-Validate-Item, When-Validate-Record • Query • Pre-Query, Post-Query • Transaction • Pre-Commit, On-Commit, Post-Commit • Pre-Insert, On-Insert, Post-Insert • Pre-Delete, On-Delete, Post-Delete

  12. Validation Triggers • When-Validate-Item • When-Validate-Record

  13. Query Triggers • Post-Query • Non-base table population • Running totals • Pre-Query • Modify query

  14. Transactional Triggers • Insert, Delete, Update • Pre- • Post- • On-

  15. The Best of the Rest • When-Create-Record • When-Remove-Record • When-Button-Pressed (UI processing – later)

  16. D E M O N S T R A T I O N Adding “trigger” code

  17. Searching and Querying • Parameterize search form • ADF Search Form • ADF provides option to “ExecuteWithParams” • Execute Query

  18. D E M O N S T R A T I O N Adding search code

  19. D E M O N S T R A T I O N Calling a stored procedure

  20. Next Level – UI Processing • Auto Submit • Conditional UI processing • Expression Language validation • Backing/Managed Beans • “Stacked canvases” • Conditional page flow

  21. Auto Submit • HTML UI validates only on POST • ADF Faces provides Partial Page Rendering • AutoSubmit submits page when field changed • PartialTrigger defines fields that re-act to changes

  22. D E M O N S T R A T I O N Auto Submit

  23. Conditional UI Processing • JSF Expression Language (EL) • Backing/Managed Beans

  24. Stacked Canvas • <af:switcher> • Number of facets • Each facet is a “canvas” • Property to defines which canvas to render

  25. D E M O N S T R A T I O N Stacked Canvas

  26. Conditional Page Flow • Button action returns a string • When-Button-Pressed • Define page flow based on runtime criteria

  27. D E M O N S T R A T I O N Conditional Page Flow

  28. Summary • ADF provides Forms developers with • All your favorite triggers • Many of the common Forms concepts • Stacked canvases • Defining search criteria • Conditional page flow • And a lot more besides! • JDeveloper and ADF continue to provide more and more productivity features for Forms developers

  29. otn.oracle.com Join Over 4,500,000 Developers! Free Technical Advice Free Software Downloads otn.oracle.com/formsdesignerj2ee

  30. Q & A

  31. Oracle ADFProductivity with Choice

More Related