Post on 19-May-2015
| © 2011 Oracle Corporation
| © 2011 Oracle Corporation
Oracle Application Development Framework(Oracle ADF)張益裕甲骨文授權教育訓練中心 講師
| © 2011 Oracle Corporation
Agenda
• Introduction to Oracle ADF– Oracle ADF Architecture– Enterprise Development Process– Rich Internet Application
• Introduction to Oracle ADF Mobile– Mobile Enterprise Challenges– Next Generation Mobile Development Framework
• Resource
| © 2011 Oracle Corporation
Java Enterprise
Edition
| © 2011 Oracle Corporation
| © 2011 Oracle Corporation
• Simplified Database Access
• Advanced Controller
• Rich Web User Interface
• Visual and Declarative Environment
• Integrated Development
• Choice of Development Approach
• Productive Application Development• End to End Framework• Simplified Database Access• Rich Web User Interface• Advanced Controller• Pluggable Business Services
| © 2011 Oracle Corporation
Introduction to Oracle ADF
| © 2011 Oracle Corporation
Oracle ADF Key Features
• Component for rich enterprise applications• Page flow 2.0• Drag and drop data binding• ADF business components• Multi-channel clients• Declarative application customization
| © 2011 Oracle Corporation
Oracle ADF Architecture
| © 2011 Oracle Corporation
Oracle ADF Architecture
| © 2011 Oracle Corporation
Oracle ADF Architecture
| © 2011 Oracle Corporation
Business Services Layer
| © 2011 Oracle Corporation
Business Services Layer
• Interaction with data persistence layer– Data persistence– Object relational mapping– Transaction management– Business logical execution
• Implement by following options– Java class, EJB, Web services, JPA– Oracle ADF business component
| © 2011 Oracle Corporation
Controller Layer
| © 2011 Oracle Corporation
Controller Layer
• Application flow• Handles user input• Two options for web-based application
– Standard JSF controller– ADF controller
| © 2011 Oracle Corporation
View Layer
| © 2011 Oracle Corporation
View Layer
• Support multi-channel access to business services• Can reuse and access business services from
– Web client– Client-Server swing desktop application– Microsoft Excel© spreadsheets– Mobile devices
| © 2011 Oracle Corporation
Model Layer
| © 2011 Oracle Corporation
Model Layer
• Connect business services to other layers• Utilize metadata files to define interface• Consists two components
– Data controls– Data bindings
| © 2011 Oracle Corporation
Benefits of Oracle ADF
• End-to-End solutions• Development environment• Platform independence• Metadata-Driven• Declaration customization• Enhanced reusability• Source availability
| © 2011 Oracle Corporation
Enterprise Development Process
Analyze
Design
Code
Debug &Test
TuneDeploy
Versioning
| © 2011 Oracle Corporation
Analyze & Design
| © 2011 Oracle Corporation
Code
| © 2011 Oracle Corporation
Debug & Test
| © 2011 Oracle Corporation
Tune
| © 2011 Oracle Corporation
Deploy & Versioning
| © 2011 Oracle Corporation
Web User Interfaces in Oracle ADF
• MVC approach to WEB UI development• Based on JSF• Extended capabilities provided by ADF
– ADF Faces– ADF Controller– ADF Binding
| © 2011 Oracle Corporation
ADF Faces Rich Client Components
• Over 150 JSF components• Ajax enabled• Pluggable look and feel• The usual components plus• Built in advanced functionality
– Drag and drop framework– Dialog and pop-up framework– Active Data– Templating and declarative components
| © 2011 Oracle Corporation
ADF Layout Components
• Arrange your page using areas• Relative positioning• Advanced layouts• Change page layout at runtime
| © 2011 Oracle Corporation
Rich Internet Application
| © 2011 Oracle Corporation
Rich Internet Application
| © 2011 Oracle Corporation
Demo - Web Application
• Application, Database and Business• Rapid Development
• UI Design• Data Binding and Chart
• Page Flows
| © 2011 Oracle Corporation
Demo - Application, DB & Business Service
| © 2011 Oracle Corporation
Demo - Rapid Development
| © 2011 Oracle Corporation
Demo - UI Design
| © 2011 Oracle Corporation
Demo - Data Binding & Chart
| © 2011 Oracle Corporation
Demo - Page Flows
| © 2011 Oracle Corporation
Demo - Page Flows
| © 2011 Oracle Corporation
Mobile Enterprise Challenges
| © 2011 Oracle Corporation
Mobile Enterprise Challenges
| © 2011 Oracle Corporation
Mobile Enterprise Challenges
• Rapid development of rich mobile applications• Flexible runtime architecture• Mobile-optimized user experience• Declarative device services integration
| © 2011 Oracle Corporation
Oracle ADF Mobile Features and Benefits
| © 2011 Oracle Corporation
Types of Mobile Application
Mobile Web Apps Native Mobile Apps Hybrid Mobile Apps
•Online application accessed through mobile device browser
•Browser governs access to local storage & device
•Highly reusable code•Highly portable
•Apps installed & run on device
•Optimized for specific mobile platform
•Direct access to local storage & services
•Code reuse can be complex
•Portability requires work
•Apps installed & runs on device with HTML 5 UI
•Optimized for specific mobile platform
•Direct access to local storage & services
•Code reuse simplified•Portability simplified
| © 2011 Oracle Corporation
Next Generation Mobile Development Framework
Oracle ADF MobileJava/HTML5
Built On Standards
Use Existing Skills Set
| © 2011 Oracle Corporation
Mobile Web Applications with ADF
• Oracle ADF Faces– Targeting tablets– Good network
• Oracle ADF Mobile Browser– From feature phones to smart phones– Slower network
| © 2011 Oracle Corporation
Demo - Business Service
| © 2011 Oracle Corporation
Demo - Page Flows
| © 2011 Oracle Corporation
Demo - Rapid Development
| © 2011 Oracle Corporation
Demo - Components
| © 2011 Oracle Corporation
| © 2011 Oracle Corporation
| © 2011 Oracle Corporation
| © 2011 Oracle Corporation
| © 2011 Oracle Corporation
Analyze
Design
Code
Debug & Test
Deploy
Others Oracle ADF
| © 2011 Oracle Corporation
Resources
• Oracle ADF• Oracle JDeveloper• Oracle Enterprise Pack for Eclipse• Oracle University
| © 2011 Oracle Corporation
Oracle Technology Network
Getting Started
Demos
Tutorials
RecordedTraining
TechnicalResources
DiscussionForum
| © 2011 Oracle Corporation
Oracle ADF Essentials
• Free packaging of key technologies from Oracle ADF• Includes the following technologies
– Oracle ADF Faces Rich Client Components– Oracle ADF Controller– Oracle ADF Binding– Oracle ADF Business Components
• Servers support– WebLogic 11g, GlassFish 3.1 and WebSphere 7
| © 2011 Oracle Corporation
Oracle JDeveloper
• Integrated Development Environment• Full Lifecycle Support• Visual and Declarative• Productive Development Framework• Complete Development Tool
– Java, Database, Web, XML and Fusion middleware
| © 2011 Oracle Corporation
Oracle Enterprise Pack for Eclipse
• Plugs into existing Eclipse environment• Spend less time doing debugging at runtime with
AppXRay• ADF Development Support• ORM, Spring and Struts Support• Premium Oracle WebLogic Server Support
| © 2011 Oracle Corporation
Oracle Certified Specialist - ADF
Oracle Fusion Middleware 11g
Build Applications with ADF IBuild Applications with ADF II
1Z0-554
Oracle ADF Essentials
| © 2011 Oracle Corporation
Build Applications with ADF I
• Introduction to Fusion and ADF• Getting Started with JDeveloper• Building a Data Model with ADF Business Components• Binding UI Components to Data• Planning and Implementing the User Interface• Implementing Transactional Capabilities• Implementing Security in ADF BC Applications
| © 2011 Oracle Corporation
Build Applications with ADF II
• Extend the ADF Business Components Framework• Implement Data Binding Concepts• Practical Data Binding in Action• Work with Managed Beans and JSF• ADF Faces Advanced Features• Integrate with WebCenter• Customize the Application Look and Feel with Skins
| © 2011 Oracle Corporation
Resources Keyword
• Oracle Application Development Framework– Oracle ADF
• Oracle Application Development Framework Mobile– Oracle ADF Mobile
• Oracle JDeveloper– Oracle JDeveloper
• Oracle Enterprise Pack for Eclipse– Oracle OEPE
| © 2011 Oracle Corporation
| © 2011 Oracle Corporation