SlideShare une entreprise Scribd logo
1  sur  25
Télécharger pour lire hors ligne
Oracle ADF Introduction
Prepared By
Er. Sandeep Sharda
Sr. Member Technical Staff
Oracle.
Oracle ADF
Motivation – Challenges building J2EE apps
 Building J2EE applications can be complex.
 Development time can be extensive.
 Choosing and implementing appropriate design
patterns can be overwhelming.
 “Do it yourself” applications often repeat existing
application code.
 A large portion of “do it yourself” code is dedicated to
common tasks.
 The more code you write, the greater the chance of
errors.
 An application framework is needed.
Oracle ADF
Introduction
 Reduces the complexity of J2EE development by
providing visual and declarative development
 Increases development productivity
– Less coding, more reuse
– Focus on the application, not the “plumbing”
 Provides a flexible and extensible environment by
allowing multiple choices and development styles
 Encourages J2EE best practices by implementing
standard J2EE design patterns
Oracle ADF
End-to-end J2EE Framework
 Implements standard J2EE best practices
 Model-View-Controller (MVC) design pattern
 Focus on the application, not the “plumbing”
 Consolidation and evolution of previous frameworks
Business Services
Web and Wireless ClientsRich Clients
Model
Controller
Oracle ADF
Visual and Declarative Development
 End-to-end Application Development
– J2EE & Services
 Visual
– UML modelers
– Structure pane
 Declarative
– Structure pane
– Property inspector
 Code View/Design View Synchronization
– No separate generation step - always synchronized
– Underlying code always accessible
Oracle ADF
J2EE Architecture (Simplified)
Enterprise
JavaBeans
ADF Business
Components
Web Services
Business ServicesClients
Java Objects
Database
Oracle ADF
No Standard API for Client Binding
Enterprise
JavaBeans
ADF Business
Components
Web Services
Business ServicesClients
Java Objects
Database
JDBC?
Oracle ADF
ADF Model
 Data Controls
 Data Binding
 JSR-227: “A Standard Data Binding & Data
Access Facility for J2EE”
Web
Service
TopLink
EJB
Java
Class
Business
Component
Model
Oracle ADF
ADF Model Architecture
 Data control: describes the values and actions
defined by the business service
Client
Bindings
Data Control
Business Service
 Bindings: define how UI
components use the
values and actions in
the data model
Oracle ADF
ADF Model Architecture
 Decouples client and business service layers
 Client code contains no references to the
business service
– Better design practice
– Code is more maintainable
 Architecture can be extended to add more
types of business services
ADF BC High-level architecture
Payment
Plan Mgmt
HTML, Java, and
XML Interfaces
SlowPaying
Customers
Late
Payments
Customer
Bill
Payment
View EntityApplication
Business
Logic
Data Presentation
& Manipulation
Task-Based
App Service
ADF BC Application
Database
Ord
Customer
Entity Objects
Customer
Order
Top
Customers
Pending
Orders
View Objects
Application Module
Start with
database tables
Entity objects encapsulate
business rules, logic,
defaults in a consistent
way for a table
View objects
encapsulate SQL queries
to project, join, filter,
order data for external
client interaction
Application module defines data
model of view object usages for a
complete application use case
UI works with the
application module as
backend business service
As you build new
applications, underlying
components are reusable
ADF – Productivity With Choice
ADF UIX
ADF Bindings
ADF Data Control
ADF Business
Components
Service Object
ADF Business
Components
Query Object
ADF Business
Components
Entity Object
Swing / JClientADFMetadataServices View
Controller
Model
Business
Services
Swing / JClient JSP ADF UIX
JSF/ADF
FACES
Rich Client Web / Wireless
Struts/JSF
ADF Bindings
ADF Data Control
Java
Classes
EJB
Session
Beans
Web
Services
ADF Business
Components
Service Object
JDBC
EJB
Finders
TopLink
Queries
ADF Business
Components
Query Object
Data
Access
ADF Business
Components
Entity Object
Java Classes EJB Entity Beans
TopLink Mapping
Persistent
Business
Objects
ADFMetadataServices
ADF Faces
 Built on top of JSF APIs
 A large component set >100 different components
 Far more advanced and interesting components
– Partial-page rendering, etc.
 ADF Faces skins (Look and Feel)
 ADF Data binding
 Open Source
ADF Faces
ADF Faces
 ADF Faces also includes many of the framework
features most needed by JSF developers today:
– File upload support is integrated at a component
level
– Client-side validation is automatically derived from
Validators and Converters for an improved user
experience
– A pageFlow scope makes it easier to pass values
from one page to another
– A new hybrid state saving strategy gives developers
the best of both client and server-side state saving
JSF Architecture
with ADF
 EL accesses “bindings” object
to value bind UI components
 ADF “bindings” object is set
through ADF Filter in web.xml
 Bindings object accesses ADF
Binding container, which then
accesses DataControl
 Business Services provide
access to various data sources
ADF “bindings” Object
ADF Binding
Renderer
UI Component Expr. Language
JSF Page
RDBMS
ADF DataControl
Business
Service 1
Business
Service 2
Business
Service 3
XML
URL
WS
Demonstration
A Web Application based on ADF Faces
1. Created ADF Business Components model
2. Layout flow
3. Made Edit page
Thank you

Contenu connexe

Tendances

ADF in Action - getting (re)acquainted with Oracle’s premier application deve...
ADF in Action - getting (re)acquainted with Oracle’s premier application deve...ADF in Action - getting (re)acquainted with Oracle’s premier application deve...
ADF in Action - getting (re)acquainted with Oracle’s premier application deve...Lucas Jellema
 
Oracle Alta UI Patterns for Enterprise Applications and Responsive UI Support
Oracle Alta UI Patterns for Enterprise Applications and Responsive UI SupportOracle Alta UI Patterns for Enterprise Applications and Responsive UI Support
Oracle Alta UI Patterns for Enterprise Applications and Responsive UI Supportandrejusb
 
Composite Applications Speaking Tour - Lap Around Office Business Architectures
Composite Applications Speaking Tour - Lap Around Office Business ArchitecturesComposite Applications Speaking Tour - Lap Around Office Business Architectures
Composite Applications Speaking Tour - Lap Around Office Business ArchitecturesMike Walker
 
Oracle ADF Online Training By Seasoft IT Solutions | Orace ADF Course Content...
Oracle ADF Online Training By Seasoft IT Solutions | Orace ADF Course Content...Oracle ADF Online Training By Seasoft IT Solutions | Orace ADF Course Content...
Oracle ADF Online Training By Seasoft IT Solutions | Orace ADF Course Content...seasofttraining
 
Upcoming JDeveloper ADF Business Components REST support
Upcoming JDeveloper ADF Business Components REST supportUpcoming JDeveloper ADF Business Components REST support
Upcoming JDeveloper ADF Business Components REST supportSteven Davelaar
 
Introduction to Oracle ADF Task Flows
Introduction to Oracle ADF Task FlowsIntroduction to Oracle ADF Task Flows
Introduction to Oracle ADF Task FlowsRohan Walia
 
Maheshkumar_ADF
Maheshkumar_ADFMaheshkumar_ADF
Maheshkumar_ADFmahesh M
 
Ipedo Company Overview
Ipedo Company OverviewIpedo Company Overview
Ipedo Company OverviewTim_Matthews
 
Best Weblogic Server Online Training
Best Weblogic Server Online TrainingBest Weblogic Server Online Training
Best Weblogic Server Online TrainingSamatha Kamuni
 
Composite Applicaitons and OBA Architecture
Composite Applicaitons and OBA ArchitectureComposite Applicaitons and OBA Architecture
Composite Applicaitons and OBA ArchitectureMike Walker
 
The Challenges Oracle Forms Migration to ADF
The Challenges Oracle Forms Migration to ADFThe Challenges Oracle Forms Migration to ADF
The Challenges Oracle Forms Migration to ADFDataNext Solutions
 
Oracle JET and WebSocket
Oracle JET and WebSocketOracle JET and WebSocket
Oracle JET and WebSocketandrejusb
 
Castle in the clouds - Building the Connexys SaaS application with Fusion Mid...
Castle in the clouds - Building the Connexys SaaS application with Fusion Mid...Castle in the clouds - Building the Connexys SaaS application with Fusion Mid...
Castle in the clouds - Building the Connexys SaaS application with Fusion Mid...Lucas Jellema
 
Oracle adf online training
Oracle adf online trainingOracle adf online training
Oracle adf online trainingo2education
 

Tendances (20)

ADF in Action - getting (re)acquainted with Oracle’s premier application deve...
ADF in Action - getting (re)acquainted with Oracle’s premier application deve...ADF in Action - getting (re)acquainted with Oracle’s premier application deve...
ADF in Action - getting (re)acquainted with Oracle’s premier application deve...
 
Oracle Alta UI Patterns for Enterprise Applications and Responsive UI Support
Oracle Alta UI Patterns for Enterprise Applications and Responsive UI SupportOracle Alta UI Patterns for Enterprise Applications and Responsive UI Support
Oracle Alta UI Patterns for Enterprise Applications and Responsive UI Support
 
Composite Applications Speaking Tour - Lap Around Office Business Architectures
Composite Applications Speaking Tour - Lap Around Office Business ArchitecturesComposite Applications Speaking Tour - Lap Around Office Business Architectures
Composite Applications Speaking Tour - Lap Around Office Business Architectures
 
Shankhadeep_Bhattacharya_Cognizant_Resume
Shankhadeep_Bhattacharya_Cognizant_ResumeShankhadeep_Bhattacharya_Cognizant_Resume
Shankhadeep_Bhattacharya_Cognizant_Resume
 
Oracle ADF Online Training By Seasoft IT Solutions | Orace ADF Course Content...
Oracle ADF Online Training By Seasoft IT Solutions | Orace ADF Course Content...Oracle ADF Online Training By Seasoft IT Solutions | Orace ADF Course Content...
Oracle ADF Online Training By Seasoft IT Solutions | Orace ADF Course Content...
 
Upcoming JDeveloper ADF Business Components REST support
Upcoming JDeveloper ADF Business Components REST supportUpcoming JDeveloper ADF Business Components REST support
Upcoming JDeveloper ADF Business Components REST support
 
Introduction to Oracle ADF Task Flows
Introduction to Oracle ADF Task FlowsIntroduction to Oracle ADF Task Flows
Introduction to Oracle ADF Task Flows
 
Oracle fusion dba online training
Oracle fusion  dba online trainingOracle fusion  dba online training
Oracle fusion dba online training
 
uppada_kishore_resume (1)
uppada_kishore_resume (1)uppada_kishore_resume (1)
uppada_kishore_resume (1)
 
Maheshkumar_ADF
Maheshkumar_ADFMaheshkumar_ADF
Maheshkumar_ADF
 
Ipedo Company Overview
Ipedo Company OverviewIpedo Company Overview
Ipedo Company Overview
 
Best Weblogic Server Online Training
Best Weblogic Server Online TrainingBest Weblogic Server Online Training
Best Weblogic Server Online Training
 
Vijay_Resume
Vijay_ResumeVijay_Resume
Vijay_Resume
 
o
oo
o
 
Composite Applicaitons and OBA Architecture
Composite Applicaitons and OBA ArchitectureComposite Applicaitons and OBA Architecture
Composite Applicaitons and OBA Architecture
 
The Challenges Oracle Forms Migration to ADF
The Challenges Oracle Forms Migration to ADFThe Challenges Oracle Forms Migration to ADF
The Challenges Oracle Forms Migration to ADF
 
Oracle JET and WebSocket
Oracle JET and WebSocketOracle JET and WebSocket
Oracle JET and WebSocket
 
Castle in the clouds - Building the Connexys SaaS application with Fusion Mid...
Castle in the clouds - Building the Connexys SaaS application with Fusion Mid...Castle in the clouds - Building the Connexys SaaS application with Fusion Mid...
Castle in the clouds - Building the Connexys SaaS application with Fusion Mid...
 
downloadfile
downloadfiledownloadfile
downloadfile
 
Oracle adf online training
Oracle adf online trainingOracle adf online training
Oracle adf online training
 

Similaire à ADF Introduction By Sandeep Sharda

Oracle Fusion Development, May 2009
Oracle Fusion Development, May 2009Oracle Fusion Development, May 2009
Oracle Fusion Development, May 2009Jaime Cid
 
Greate Introduction to Oracle Fusion Middleware and ADF
Greate Introduction to Oracle Fusion Middleware and ADFGreate Introduction to Oracle Fusion Middleware and ADF
Greate Introduction to Oracle Fusion Middleware and ADFMohamed Shahpoup
 
Oracle fusion adf online training in africa
Oracle fusion adf online training in africaOracle fusion adf online training in africa
Oracle fusion adf online training in africamagnifics
 
Oracle fusion adf online training in africa
Oracle fusion adf online training in africaOracle fusion adf online training in africa
Oracle fusion adf online training in africamagnificsmile
 
Raju_Datla_Resume
Raju_Datla_ResumeRaju_Datla_Resume
Raju_Datla_ResumeVEERA DATLA
 
Mt ADF 001 adf-course outlines
Mt ADF 001 adf-course outlinesMt ADF 001 adf-course outlines
Mt ADF 001 adf-course outlinesAbbas Qureshi
 
SOA 11g Foundation - G - ADF Development.ppt
SOA 11g Foundation - G - ADF Development.pptSOA 11g Foundation - G - ADF Development.ppt
SOA 11g Foundation - G - ADF Development.pptSudhirSinghShakyaVan
 
Oracle ADF Overview
Oracle ADF OverviewOracle ADF Overview
Oracle ADF OverviewBahaa Farouk
 
Oracle - Programatica2010
Oracle - Programatica2010Oracle - Programatica2010
Oracle - Programatica2010Agora Group
 
A guide to ADF fusion development
A guide to ADF fusion developmentA guide to ADF fusion development
A guide to ADF fusion developmentDataNext Solutions
 
Oracle adf trainining in hyderabad
Oracle adf trainining in hyderabadOracle adf trainining in hyderabad
Oracle adf trainining in hyderabadsreehari orienit
 
Oracle adf-training-in-hyderabad
Oracle adf-training-in-hyderabadOracle adf-training-in-hyderabad
Oracle adf-training-in-hyderabadsreehari orienit
 
Oracle adf trainining in hyderabad
Oracle adf trainining in hyderabadOracle adf trainining in hyderabad
Oracle adf trainining in hyderabadsreehari orienit
 
Oracle adf-training-in-hyderabad
Oracle adf-training-in-hyderabadOracle adf-training-in-hyderabad
Oracle adf-training-in-hyderabadsreehari orienit
 
Oracle adf trainining in hyderabad
Oracle adf trainining in hyderabadOracle adf trainining in hyderabad
Oracle adf trainining in hyderabadsreehari orienit
 
Adf coursecontent(1)
Adf coursecontent(1)Adf coursecontent(1)
Adf coursecontent(1)Amit Sharma
 

Similaire à ADF Introduction By Sandeep Sharda (20)

Oracle ADF Tutorial
Oracle ADF TutorialOracle ADF Tutorial
Oracle ADF Tutorial
 
Oracle Fusion Development, May 2009
Oracle Fusion Development, May 2009Oracle Fusion Development, May 2009
Oracle Fusion Development, May 2009
 
Greate Introduction to Oracle Fusion Middleware and ADF
Greate Introduction to Oracle Fusion Middleware and ADFGreate Introduction to Oracle Fusion Middleware and ADF
Greate Introduction to Oracle Fusion Middleware and ADF
 
Oracle fusion adf online training in africa
Oracle fusion adf online training in africaOracle fusion adf online training in africa
Oracle fusion adf online training in africa
 
Oracle fusion adf online training in africa
Oracle fusion adf online training in africaOracle fusion adf online training in africa
Oracle fusion adf online training in africa
 
Raju_Datla_Resume
Raju_Datla_ResumeRaju_Datla_Resume
Raju_Datla_Resume
 
Mt ADF 001 adf-course outlines
Mt ADF 001 adf-course outlinesMt ADF 001 adf-course outlines
Mt ADF 001 adf-course outlines
 
SOA 11g Foundation - G - ADF Development.ppt
SOA 11g Foundation - G - ADF Development.pptSOA 11g Foundation - G - ADF Development.ppt
SOA 11g Foundation - G - ADF Development.ppt
 
Oracle ADF Overview
Oracle ADF OverviewOracle ADF Overview
Oracle ADF Overview
 
Oracle - Programatica2010
Oracle - Programatica2010Oracle - Programatica2010
Oracle - Programatica2010
 
A guide to ADF fusion development
A guide to ADF fusion developmentA guide to ADF fusion development
A guide to ADF fusion development
 
1 introduction to_formsdev
1 introduction to_formsdev1 introduction to_formsdev
1 introduction to_formsdev
 
Adf 11
Adf 11Adf 11
Adf 11
 
Oracle adf trainining in hyderabad
Oracle adf trainining in hyderabadOracle adf trainining in hyderabad
Oracle adf trainining in hyderabad
 
Oracle adf-training-in-hyderabad
Oracle adf-training-in-hyderabadOracle adf-training-in-hyderabad
Oracle adf-training-in-hyderabad
 
Oracle adf trainining in hyderabad
Oracle adf trainining in hyderabadOracle adf trainining in hyderabad
Oracle adf trainining in hyderabad
 
Oracle adf-training-in-hyderabad
Oracle adf-training-in-hyderabadOracle adf-training-in-hyderabad
Oracle adf-training-in-hyderabad
 
Oracle adf
Oracle adfOracle adf
Oracle adf
 
Oracle adf trainining in hyderabad
Oracle adf trainining in hyderabadOracle adf trainining in hyderabad
Oracle adf trainining in hyderabad
 
Adf coursecontent(1)
Adf coursecontent(1)Adf coursecontent(1)
Adf coursecontent(1)
 

ADF Introduction By Sandeep Sharda

  • 1. Oracle ADF Introduction Prepared By Er. Sandeep Sharda Sr. Member Technical Staff Oracle.
  • 2. Oracle ADF Motivation – Challenges building J2EE apps  Building J2EE applications can be complex.  Development time can be extensive.  Choosing and implementing appropriate design patterns can be overwhelming.  “Do it yourself” applications often repeat existing application code.  A large portion of “do it yourself” code is dedicated to common tasks.  The more code you write, the greater the chance of errors.  An application framework is needed.
  • 3. Oracle ADF Introduction  Reduces the complexity of J2EE development by providing visual and declarative development  Increases development productivity – Less coding, more reuse – Focus on the application, not the “plumbing”  Provides a flexible and extensible environment by allowing multiple choices and development styles  Encourages J2EE best practices by implementing standard J2EE design patterns
  • 4. Oracle ADF End-to-end J2EE Framework  Implements standard J2EE best practices  Model-View-Controller (MVC) design pattern  Focus on the application, not the “plumbing”  Consolidation and evolution of previous frameworks Business Services Web and Wireless ClientsRich Clients Model Controller
  • 5. Oracle ADF Visual and Declarative Development  End-to-end Application Development – J2EE & Services  Visual – UML modelers – Structure pane  Declarative – Structure pane – Property inspector  Code View/Design View Synchronization – No separate generation step - always synchronized – Underlying code always accessible
  • 6. Oracle ADF J2EE Architecture (Simplified) Enterprise JavaBeans ADF Business Components Web Services Business ServicesClients Java Objects Database
  • 7. Oracle ADF No Standard API for Client Binding Enterprise JavaBeans ADF Business Components Web Services Business ServicesClients Java Objects Database JDBC?
  • 8. Oracle ADF ADF Model  Data Controls  Data Binding  JSR-227: “A Standard Data Binding & Data Access Facility for J2EE” Web Service TopLink EJB Java Class Business Component Model
  • 9. Oracle ADF ADF Model Architecture  Data control: describes the values and actions defined by the business service Client Bindings Data Control Business Service  Bindings: define how UI components use the values and actions in the data model
  • 10. Oracle ADF ADF Model Architecture  Decouples client and business service layers  Client code contains no references to the business service – Better design practice – Code is more maintainable  Architecture can be extended to add more types of business services
  • 11. ADF BC High-level architecture Payment Plan Mgmt HTML, Java, and XML Interfaces SlowPaying Customers Late Payments Customer Bill Payment View EntityApplication Business Logic Data Presentation & Manipulation Task-Based App Service
  • 12. ADF BC Application Database Ord Customer Entity Objects Customer Order Top Customers Pending Orders View Objects Application Module
  • 14. Entity objects encapsulate business rules, logic, defaults in a consistent way for a table
  • 15. View objects encapsulate SQL queries to project, join, filter, order data for external client interaction
  • 16. Application module defines data model of view object usages for a complete application use case
  • 17. UI works with the application module as backend business service
  • 18. As you build new applications, underlying components are reusable
  • 19. ADF – Productivity With Choice ADF UIX ADF Bindings ADF Data Control ADF Business Components Service Object ADF Business Components Query Object ADF Business Components Entity Object Swing / JClientADFMetadataServices View Controller Model Business Services Swing / JClient JSP ADF UIX JSF/ADF FACES Rich Client Web / Wireless Struts/JSF ADF Bindings ADF Data Control Java Classes EJB Session Beans Web Services ADF Business Components Service Object JDBC EJB Finders TopLink Queries ADF Business Components Query Object Data Access ADF Business Components Entity Object Java Classes EJB Entity Beans TopLink Mapping Persistent Business Objects ADFMetadataServices
  • 20. ADF Faces  Built on top of JSF APIs  A large component set >100 different components  Far more advanced and interesting components – Partial-page rendering, etc.  ADF Faces skins (Look and Feel)  ADF Data binding  Open Source
  • 22. ADF Faces  ADF Faces also includes many of the framework features most needed by JSF developers today: – File upload support is integrated at a component level – Client-side validation is automatically derived from Validators and Converters for an improved user experience – A pageFlow scope makes it easier to pass values from one page to another – A new hybrid state saving strategy gives developers the best of both client and server-side state saving
  • 23. JSF Architecture with ADF  EL accesses “bindings” object to value bind UI components  ADF “bindings” object is set through ADF Filter in web.xml  Bindings object accesses ADF Binding container, which then accesses DataControl  Business Services provide access to various data sources ADF “bindings” Object ADF Binding Renderer UI Component Expr. Language JSF Page RDBMS ADF DataControl Business Service 1 Business Service 2 Business Service 3 XML URL WS
  • 24. Demonstration A Web Application based on ADF Faces 1. Created ADF Business Components model 2. Layout flow 3. Made Edit page