Is Oracle ADF Simpler than Oracle Forms? Dana Singleterry – http://blogs.oracle.com/dana
2 CopyrightPrincipal © 2011, Oracle and/or itsProduct affiliates. All rights Manager – Oracle Development Tools reserved. What Made Oracle Forms Productive?
• Strong defaulting from DB • Properties for artifacts • Built in Triggers • Database aware features – LOV, Master Detail • Simple UI Design – Defaulting + Components • PL/SQL Coding? • Simple Architecture
3 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. What Does ADF offer?
Strong defaulting from DB Properties for artifacts Built in Triggers Database aware features – LOV, Master Detail Simple UI Design – Defaulting + Components PL/SQL Coding Simple Architecture
4 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Productivity in Oracle ADF How is it done?
5 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. ADF Business Components Database Access Layer A framework that simplifies developing Java EE business services for developers familiar with 4GL tools, declarative development, and relational databases
• Simplify data access • Simplify validation and business logic • Uses SQL based data views • Separate data views from business logic • Implement best practices • Easy customization
6 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. ADF BC Making Things Simpler
• Query by example any field • Range fetching • Master/Detail coordination • Web service interfaces • List of values • Transaction control • Calculated fields • Locking mechanism • Various validations • State management
All done declaratively without coding!
7 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Property Inspectors – Declarative Development
8 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. List of Values
*ADF also does dependent LOVs
9 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Calculated Fields
10 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Declarative Validation
12 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Transactional Triggers
13 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Sometime ADF Results in Less Coding
• Examples: • Get translation to code – Usually coding in post query or When Validate Item – ADF no code needed (joined view) • Master detail synchronization over Forms – Forms Requires parameter passing – Automatic in ADF
14 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Even Simpler Than Java
• Groovy Script expressions • Even simpler syntax than Java
if ( FirstName=="Lex" && newValue > 5000) { return false } else return true
15 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. UI Design Froms
17 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. UI Design JDeveloper
18 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. ADF Faces Component Based UI Development
19 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. And More Components
20 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. ADF Faces Rich Client Components
• Over 150 components • Ajax enabled • Pluggable look and feel • Accessibility & internationalization • The usual components plus: – Charts, gantt, geo map, pivot, calendars, coverflow • Built in advanced functionality: – Drag and drop framework – Dialog and pop up framework – “Active Data” Dashboards / push updates (comet) – Templating and declarative components
21 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Data Visualization Components
22 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Get a UI Like This
23 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Layout Strategies
• Forms – Absolute positioning – Easier to understand • ADF – Relative positioning – Better for changing screen sizes/resolutions – More layout styles – Templating
24 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. UI Event Model = Forms Triggers
26 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Controlling Page Flow in Forms
If process_submit then Call_Form (‘FormA’ ) Else Call_Form (‘FormB’); End if;
27 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Page (and Task) Flow in ADF
28 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Some Other Things That Influence Productivity
29 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Coding Environment
30 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Change Management
31 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Team Collaboration
32 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Requirement Tracking
33 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Customization
• Layered approach to changes • Single base application for all users • Upgrades safe
34 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. But What About the Architecture?
35 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Forms as a Framework
Java UI Renderer PL/SQL engine Block
Record Manager SQL Interface
36 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Forms Mapping to ADF
Web, Wireless Java UI Renderer Rich Clients Clients UI Block UI Definition Logic Controller Navigation Logic
Logic Data Model Block Data Definition Record Manager SQL Interface Business Services
37 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Forms Mapping to ADF
Web, Wireless Java UI Renderer Rich Clients Logic Clients UI Block UI Definition
Controller Navigation Logic Logic Data Model Block Data Definition Record Manager SQL Interface Business Services
38 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. The Fusion Architecture Overview View Business Logic Data
Business Services Data Binding
events
BAM Human Workflow Mediator /BPEL Rules Service assign Process facts Engine
complete results
Monitoring Human interaction Orchestration Policy evaluation
39 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Architecture Drives Long Time Ease
• Reusability – Business Services – Taskflows – UI • Maintenance – Separate layers = independent changes • Customization – Simpler tailoring to specific needs
40 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Summary
• Oracle ADF delivers simplicity matching Forms capabilities • Many familiar concepts/techniques for Forms developers • Delivering better architecture for your application
41 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Join the JDeveloper/ADF Community
Twitter twitter.com/JDeveloper Facebook facebook.com/JDeveloper Oracle’s JDeveloper PM blog blogs.oracle.com/ JDeveloperpm
oracle.com/technetwork/jdev
42 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. More Information
• Forms strategy – http://otn.oracle.com/products/forms • Modernizing Oracle Forms – http://otn.oracle.com/goto/formsmodernize • Java for Forms developers – http://otn.oracle.com/formsdesignerj2ee • Article on Forms migration – http://www.oracle.com/technology/products/forms/pdf/10gR2/formsmigration.pdf • White paper on redeveloping Forms using ADF – http://www.oracle.com/technology/products/jdev/collateral/4gl/papers/redevelopi ng_forms_in_adf_11g.pdf • Customer story – http://www.oracle.com/technology/products/jdev/customers/MEDNET.pdf
43 Copyright © 2011, Oracle and/or its affiliates. All rights reserved. For More Information
• www.oracle.com/technetwork/jdev • Tutorials • Demos • Software • Discussions • Blogs • And more
44 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.