Download presentation
Presentation is loading. Please wait.
Published byCamilla Spencer Modified over 9 years ago
3
Grant Ronald Principal Product Manager
4
JDeveloper and ADF for Forms Developers: Taking it to the next level
5
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
6
What You Should Know JDeveloper ADF ADF Business Components JSF
7
ADF Architecture ADF Data Binding/ Data Control Struts JSF JSF/ADF Faces JSP ADF Swing Java Classes EJB ADF Business Components Web Services Portlets JSR-168 WSRP View Controller Model (JSR 227) Business Services Toplink Relational Data XML Data Packaged Apps Legacy Data Data Source Metadata Services (MDS)
8
ADF Business Components Customer Order LineItem OrdView CustView OrdView CustView Application Module View Objects Entity Objects
9
Getting into the code ADF BC doesn’t “generate code” “default” XML definition Allows you to expose more and more of the implementation code
10
Getting into the code Exposing code in the Entity Object
11
Getting into the code Exposing code in the View Object
12
Getting into the code Exposing code in the Application Module
13
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
14
Validation Triggers When-Validate-Item When-Validate-Record
15
Query Triggers Post-Query Non-base table population Running totals Pre-Query Modify query
16
Transactional Triggers Insert, Delete, Update Pre- Post- On-
17
The Best of the Rest When-Create-Record When-Remove-Record When-Button-Pressed (UI processing – later)
18
D E M O N S T R A T I O N Adding “trigger” code
19
Searching and Querying Parameterize search form ADF Search Form ADF provides option to “ExecuteWithParams” Execute Query
20
D E M O N S T R A T I O N Adding search code
21
D E M O N S T R A T I O N Calling a stored procedure
22
Next Level – UI Processing Auto Submit Conditional UI processing Expression Language validation Backing/Managed Beans “Stacked canvases” Conditional page flow
23
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
24
D E M O N S T R A T I O N Auto Submit
25
Conditional UI Processing JSF Expression Language (EL) Backing/Managed Beans
26
Stacked Canvas Number of facets Each facet is a “canvas” Property to defines which canvas to render
27
D E M O N S T R A T I O N Stacked Canvas
28
Conditional Page Flow Button action returns a string When-Button-Pressed Define page flow based on runtime criteria
29
D E M O N S T R A T I O N Conditional Page Flow
30
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
31
otn.oracle.com Join Over 4,500,000 Developers! Free Software Downloads otn.oracle.com/formsdesignerj2ee Free Technical Advice
32
A Q &
33
Oracle ADF Productivity with Choice
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.