oracle adf: the - · pdf fileoracle adf: the technology behind project fusion lynn munsinger...
TRANSCRIPT
![Page 1: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/1.jpg)
![Page 2: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/2.jpg)
Oracle ADF: The technology behind project fusion
Lynn MunsingerPrincipal Product ManagerApplication Development ToolsOracle Corporation
![Page 3: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/3.jpg)
Agenda
Application Development Framework (ADF)– Overview– Goals– Architecture
Productivity with Choice– ADF Business Components– ADF Model Options
Binding data to a UI– JSF – ADF Faces
![Page 4: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/4.jpg)
Agenda
Application Development Framework (ADF)– Overview– Goals– Architecture
Productivity with Choice– ADF Business Components– ADF Model Options
Binding data to a UI– JSF – ADF Faces
![Page 5: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/5.jpg)
Customer Challenge -Development
Different architectures– J2EE– Service Oriented Architecture– Event-Driven Architecture
Different technologies– WS, BPM, XML, WSDL, Portal, Wireless, etc.
Different data sources & access– Database, Legacy, Packaged Apps, WS, etc.
Diverse set of developers– Different technical skills– Different development styles– All need to be productive
![Page 6: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/6.jpg)
Productivity With Choice
Oracle ADF & Oracle JDeveloper – Productivity increases for all developers– Visual & Declarative– Framework advantages w/o lock-in– Promotes Metadata Usage– Enables Service Oriented Development– Enables Event Driven Development
Common Framework– J2EE, BPEL, XML, Portal, Wireless, Data, etc.– Common Gestures– Common Concepts (Data, Visual, etc.)
Choice of TechnologiesChoice of Development Styles
![Page 7: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/7.jpg)
Common Architecture
JDeveloper
Metadata Services (MDS)
OC4J
ADF
Portal
E-B
usin
ess
Sui
te
Integration Wireless
Enterprise M
anager
![Page 8: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/8.jpg)
ADF ArchitectureJSFJSF
ADF Data ControlADF Data ControlADF BindingsADF Bindings Portlet BindingsPortlet Bindings
StrutsStruts JSFJSF
ADF FacesADF FacesJSPJSPADF SwingADF Swing
Java Java ClassesClassesEJBEJB ADF ADF
Business Business ComponentsComponents
WebWebServicesServices
PortletsPortletsJSRJSR--168168WSRPWSRP
Rich Client Web / Wireless
Toplink Data ServicesToplink Data Services
Relational Data XML Data
Met
adat
a S e
rvic
es (M
DS)
Packaged AppsLegacy Data
JDBC JCA JDBC WS XML
Mobile BindingsMobile Bindings
ViewView
ControllerController
ModelModel(JSR 227)(JSR 227)
Business Business ServicesServices
![Page 9: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/9.jpg)
Fusion ArchitectureJSFJSF
ADF Data ControlADF Data ControlADF BindingsADF Bindings Portlet BindingsPortlet Bindings
StrutsStruts JSFJSF
ADF FacesADF FacesJSPJSPADF SwingADF Swing
Java Java ClassesClassesEJBEJB ADF ADF
Business Business ComponentsComponents
WebWebServicesServices
PortletsPortletsJSRJSR--168168WSRPWSRP
Rich Client Web / Wireless
Toplink Data ServicesToplink Data Services
Relational Data XML Data
Met
adat
a S e
rvic
es (M
DS)
Packaged AppsLegacy Data
JDBC JCA JDBC WS XML
Mobile BindingsMobile Bindings
ViewView
ControllerController
ModelModel(JSR 227)(JSR 227)
Business Business ServicesServices
![Page 10: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/10.jpg)
Oracle ADF
Increase Productivity & Ease-of-use– Visual and declarative development– Less coding, more reuse– Reduce Learning Curve & Resource Issues– XML Metadata
Promote Service Oriented Development– Re-usable Business Services– Common architecture
Standards-Base– Uses standard data & code whenever possible– Clean separation between design-time & runtime– Choice of technology – Not all-or-nothing
![Page 11: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/11.jpg)
What Is Oracle ADF?End-to-end J2EE Framework
Implements standard J2EE best practicesModel-View-Controller (MVC) design pattern
Focus on the application, not the “plumbing”Consolidation and evolution of previous frameworks
Business ServicesBusiness Services
Web and Wireless ClientsWeb and Wireless ClientsRich ClientsRich Clients
ModelModel
ControllerController
![Page 12: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/12.jpg)
Oracle ADFVisual and Declarative Development
End-to-end Application Development– J2EE & Services
Visual– WYSIWYG editors– UML modelers – Structure pane
Declarative– Structure pane – Property inspector
Code View/Design View Synchronization– No separate generation step - always synchronized– Underlying code always accessible
![Page 13: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/13.jpg)
Agenda
Application Development Framework (ADF)– Overview– Goals– Architecture
Productivity with Choice– ADF Business Components– ADF Model Options
Binding data to a UI– JSF – ADF Faces
![Page 14: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/14.jpg)
Business Services
Manages Persistence– O/R mapping – Queries/DML
Performs Validation– Data validation– Business logic
Choices of implementation– ADF Business Components, Toplink,
Web Services, Java classes, EJB
![Page 15: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/15.jpg)
Business ServicesDesign Time
UML Modelers, Wizards, Code Editors– ADF Business Components – Enterprise JavaBeans– TopLink– Database Schema– Web Services– Java Classes
Integrated J2EE server(OC4J) for acceleratingdevelop-run-debug cycle.
![Page 16: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/16.jpg)
ADF Business Components
Complete business tier development frameworkImplements J2EE design patternsBest practice solutions for:
– Business logic implementation– Scalability and performance– Optimized database interaction
Standard deployment options: – EJB, web tier, web services
![Page 17: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/17.jpg)
D E M O N S T R A T I O N
Developing Business Components with ADF
![Page 18: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/18.jpg)
ADF Model
Abstract service implementationfrom clients
– ADF Business Components, EJB, Web Services, Toplink, Java Classes, etc.
– Implementation of JSR 227– Service Oriented Interface
Declarative Data Binding– Common binding of data to UI components– Uses EL (standard expression language) to reduce
learning curve– Clean separation of view and model
Declarative Data Validation– Consistent interface for common validation– Extendable for complex application validation
Design Tools
![Page 19: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/19.jpg)
ADF Model
Data ControlsData BindingJSR-227: “A Standard Data Binding & Data Access Facility for J2EE”
Web Service
TopLink
EJB
JavaClass
BusinessComponent
ModelModel
![Page 20: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/20.jpg)
Drag-and-Drop Binding
Data Control Palette– Expose any business service– Available to any client
![Page 21: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/21.jpg)
Agenda
Application Development Framework (ADF)– Overview– Goals– Architecture
Productivity with Choice– ADF Business Components– ADF Model Options
Binding data to a UI– JSF – ADF Faces
![Page 22: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/22.jpg)
ADF Architecture Overview
Business ServicesBusiness Services
Web and Wireless Clients
Web and Wireless Clients
ModelModel
ControllerController
Rich ClientsRich Clients
![Page 23: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/23.jpg)
UI Development
Visual editors– JSP and HTML– JavaServer Faces – ADF Swing
Component paletteCommon bindingProperty inspectorStructure pane
![Page 24: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/24.jpg)
Design and Code Sync
Design View / Code View– Available for all components– Full synchronization with the code
![Page 25: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/25.jpg)
JSP Visual Design
Synchronized JSP Visual Design
– Code Editor– Structure Pane– Property Inspector– Data Control/Component
Palette
Integrated with JSTL/EL, Struts, and JSFUniversal ADF Databinding
– Toplink, EJB, BC4J– Web Services– Drag and drop UI
Components
![Page 26: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/26.jpg)
JavaServer Faces
Visual development – JSF UI Component
visual editing– “Autobinding” backing
code generation option– Visual design
for mobile clients– Synchronized with faces-
config.xml– Drilldown to pages
Declarative – JSF Editor– Structure Pane – Property Inspector
![Page 27: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/27.jpg)
JSF and JDeveloper 10.1.3
JSF Page Flow– Visually design Faces navigation model
![Page 28: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/28.jpg)
JSF and JDeveloper 10.1.3
Declarative data binding – JSR 227– Drag and drop data binding support
![Page 29: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/29.jpg)
Oracle ADF Faces
Provides complementary set of components to JSF 1.1 base components100% JSF standard compliantDeployable on any compliant implementation of JSF
– Reference Implementation– MyFaces
![Page 30: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/30.jpg)
ADF Faces
Rich set of standard components– 100+ components– Works with any Faces-compliant IDE– Rich browser experience
Multiple Target Devices– Browser – HTML– Browser – DHTML/Javascript– Mobile/PDA
Single Programming Model = J2EE/FacesDeclarative Look and Feel
– Example: www.orablogs.com
ADF Integration– JSR 227 Data Binding– Validation Framework
![Page 31: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/31.jpg)
Consistent Programming Model
J2EE / ADFJ2EE / ADF Bus. LogicBus. Logic
HTMLHTML Rich UIRich UI MobileMobile TelnetTelnet
IndustrialIndustrialDesktopDesktop
XMLXML XMLXML
HTMLHTML
ITSITS
Phone/PDAPhone/PDABrowserBrowser
SkinsSkins
Render KitsRender Kits
ComponentsComponents
Swing L&FSwing L&F
SwingSwing
SwingSwing
InterfaceInterfaceJava Server Faces / JSPJava Server Faces / JSPADF SwingADF Swing
Faces RIFaces RI ADF FacesADF FacesPortalPortal
![Page 32: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/32.jpg)
D E M O N S T R A T I O N
Binding Data to a UI using ADF Data Binding
and ADF Faces
![Page 33: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/33.jpg)
Oracle JDeveloper 10G
Standards-based IDESingle stack for all development
– J2EE & XML Development– Portal, BPEL, BI & Wireless Development– Service-Oriented Development– Event-Driven Development
Productivity With Choice– Supports choice of technologies– Supports choice of development styles– Supports choice of Application Servers
Adapts to Environment– Not the other way around
![Page 34: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/34.jpg)
More Choices – Less ComplexityUMLSwing, HTMLJSPJSFApache StrutsBPELWirelessEJBsToplinkAnt, JUnitCVS, Clearcase PortalOracle 10g JBoss, WLSProfiling Audit/MetricsEtc.
My JDeveloperMy JDeveloper
HTML JSFJSPEJBsToplinkAnt, JUnitBPELCVS Oracle 10g Profiling Audit/Metrics
Extension ManagerExtension Manager
BPELXSLXSD
BP Project
EJBsEDSL
Data Project
HTMLJSPJSF
UI Project
Technology ScopesTechnology Scopes
![Page 35: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/35.jpg)
Choice of Development Styles
Standard DataStandard Data
Java, JSP, PL/SQL, Java, JSP, PL/SQL, HTML & XML Editors HTML & XML Editors
Structure Pane, Dialogs, Structure Pane, Dialogs, Property Inspector, Property Inspector, Component PaletteComponent Palette
UML Profiles, Visual UML Profiles, Visual Editors, BP Diagram, Editors, BP Diagram, Page Flow DiagramPage Flow Diagram
Wizards, Templates,Wizards, Templates,Component Bindings,Component Bindings,
MDDMDD
DesignDesign--TimeTime
![Page 36: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/36.jpg)
Q U E S T I O N S
A N S W E R S&
![Page 37: Oracle ADF: The - · PDF fileOracle ADF: The technology behind project fusion Lynn Munsinger ... Oracle ADF Faces yProvides complementary set of components to JSF 1.1 base components](https://reader031.vdocument.in/reader031/viewer/2022013014/5ab52d3b7f8b9a1a048c9109/html5/thumbnails/37.jpg)