SlideShare a Scribd company logo
1 of 37
Download to read offline
1 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
2 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Real World ADF Design & Architecture Principles
Architecting for ADF Mobile Integration
15th Feb 2013 v1.0
3 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Learning Objectives
•  At the end of this module you should be able to:
–  Understand where ADF Mobile fits into the ADF ecosphere
–  Describe ADF Mobile's capabilities and its platform
–  Identify challenges of integrating mobile into the enterprise
–  Consider if ADF BC web services SDOs are suitable for the ADF
Mobile platform and how they can be integrated
Image: imagerymajestic/ FreeDigitalPhotos.net
4 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Program Agenda
•  Introduction to ADF Mobile
•  ADF Mobile Framework
•  Application Design Considerations
•  Mobile 2 Enterprise Integration Challenges
•  Reusing ADF Business Components & SDOs
5 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
ADF Mobile Benefits
•  Mobile-enables Oracle Fusion Middleware and applications
–  Without complexity and expense of integrating separate "mobile
platform"
•  Build-once, deploy to multiple platforms
–  Common metadata-based application definition
–  Device specific deployment packages generating native application files
•  Tight device services integration
–  Call to on device services such as GPS, camera, contacts and more
–  Leverages open-sourced PhoneGap in the native application container
6 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
ADF Mobile Benefits
•  Native device user experience
–  Delivered through HTML5 UI components
–  Full support for animations, gestures, and touch interaction
–  Interactive data visualization components
•  Enterprise-grade Mobile application security
–  SSO and OAM/OID integration
–  End-to-end encryption, for local database, communication
channels, and cached credentials
–  Access control for application features
7 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
ADF Mobile Benefits
•  Leverage existing skills
–  In Java and Web technologies
–  Same development paradigm as ADF for server/Java EE
applications
–  Lowers TCO and learning curve
8 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Oracle’s Mobile Approach
§  Deliver one common platform
for both desktop-based and
mobile enterprise apps
§  Reuse your development skills
and tools – Java and Web-
based Development Skills
§  Minimize development cycle
and cost
§  Extend enterprise apps
and data to mobile clients
§  Support multiple channels
and platforms
ORACLE	
  MOBILE	
  APPS	
  
ORACLE	
  APPLICATION	
  DEVELOPMENT	
  FRAMEWORK	
  
ISV	
  /	
  CUSTOM	
  APPS	
  
9 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Description Benefits Scenario
ADF Faces
Rich Client
Components
For desktop browser
apps that are fully
functional in iPad and
Android tablet browsers
•  Single codebase
•  Simplest rollout, maintenance,
portability
Laptop/Desktop
Replacement
ADF Mobile
Browser
For web pages that
adapt to the mobile
browser where they are
viewed
Supports broad range of mobile
browsers (smartphones and feature
phones)
Mobile Approval and
Search
ADF Mobile
For mobile apps that
install and run on iOS
and Android devices
•  Access to local storage and
device services (camera,
contacts, etc.)
•  Offline Access
•  Highly interactive and native look
& feel
Mobile Worker
Mobile Approval and
Search
Mobile Development with Oracle ADF
10 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Java HTML5
Use Existing Skills Set
Built On Standards
Use	
  Exis:ng	
  Skills	
  Set	
  
Built	
  On	
  Standards	
  
Oracle
ADF Mobile
Simplify Development
Write Once, Deploy to Many
11 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Integrated Development Environment
§  Declarative and visual
development
§  Integration with Apple Xcode and
Android SDK
§  Consistent tooling
§  Task Flows
§  Data Controls
§  Packaging
§  Deployment
§  Debugging
12 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.12 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Given we’ve now ADF Mobile,
does this mean we can go
without ADF server-based
applications altogether?
Could this be the replacement
for ADF Swing?
Exercise
Image: imagerymajestic/ FreeDigitalPhotos.net
13 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
ADF Mobile Suitability
•  Not designed to replace native development platforms (eg. XCode)
–  Extremely unlikely that somebody will build ADF Angry Birds
–  Its cross platform nature makes it a generalized development platform, not an
optimized one
•  Ideal for small mobile applications
–  Unlikely to replace full blown enterprise
applications
–  But may provide many small apps that interface
remotely
•  Mobile UI is not suitable for extensive data
entry applications
14 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Program Agenda
•  Introduction to ADF Mobile
•  ADF Mobile Framework
•  Application Design Considerations
•  Mobile 2 Enterprise Integration Challenges
•  Reusing ADF Business Components & SDOs
15 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Framework Overview
•  Thin Native container on each
platform, allows for
–  Native application install
–  Device interaction via PhoneGap
•  HTML5/JavaScript Frontend
•  Java Backend
–  Embeds a light headless JVM
•  Content packaged as reusable
modules
–  Implemented as local or remote
content
16 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
UI Content options
•  Local AMX File
–  JSF-like file built visually in JDeveloper
–  Converted at RT HTML/JS on device
•  Remote URL
–  ADF Trinidad for Smartphones
–  ADF Faces on Tablets
–  Any third-party site
•  Local HTML File
–  Supports third-party HTML5 frameworks
17 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Access and Security
•  Authentication:
–  Out of the box integration with Oracle IDM
–  Offline authentication
–  Single login across Features
•  Access Control:
–  Role based access
•  Encryption:
–  Credential store
–  Local data
–  Communication channels
18 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Device
Services
How It Works?
Phone Gap
Device Native Container
Web
View
Server
HTML
ADF Mobile
XML View
Java
Managed Beans
ADF Model
Third Party
Web Sites
ADF Faces RC
ADF Mobile
Browser
Mobile
Device
Web Services
(SOAP & REST)
Local
HTML
HTML5 & JavaScript
Configuration
Server
ADF Controller
Local	
  Data	
  
CredentialManagement,
SSO&AccessControl
Application
Configuration
Server
19 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Program Agenda
•  Introduction to ADF Mobile
•  ADF Mobile Framework
•  Application Design Considerations
•  Mobile 2 Enterprise Integration Challenges
•  Reusing ADF Business Components & SDOs
20 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Architecture “Within” ADF Mobile Apps
Image: fotographic1980/ FreeDigitalPhotos.net
21 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
ADF Mobile is a relatively new
technology. Best practices and
architectures are still up for
discussion at this stage.
Image: Ambro / FreeDigitalPhotos.net
22 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Program Agenda
•  Introduction to ADF Mobile
•  ADF Mobile Framework
•  Application Design Considerations
•  Mobile 2 Enterprise Integration Challenges
•  Reusing ADF Business Components & SDOs
23 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Mobile 2 Enterprise Integration
•  Mobile 2 Enterprise
–  Beyond the architecture within a
mobile application
–  How does the mobile application
consume & communicate to remote
enterprise services?
–  How does mobile fit into the larger
enterprise architecture?
Image: Pong / FreeDigitalPhotos.net
24 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Mobile 2 Enterprise Integration
•  Technically mobile’s can consume numerous technical protocols
–  Within an enterprise domain this will typically include:
•  Remote web pages
•  Web services
–  ADF Mobile v1.0 is capable of using both of these
•  In built browser to access remote web pages
•  Good support for SOAP based web service, reasonable support for REST
25 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Mobile 2 Enterprise Integration Challenges
•  The nature of mobile devices are they are
“mobile”
–  Mobile devices cannot be easily maintained by the
enterprise
–  Enterprise workers may be offsite for days/weeks/
months
–  Some applications are designed to go “off-line” or
survive “wifi” and connection dead-spots
•  If the enterprise services need to be
upgraded and APIs change
–  Presents challenge as the mobile application may
not be easily upgraded
Image: posterize/ FreeDigitalPhotos.net
26 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Providing Stable Enterprise Services
•  Unless you can guarantee
–  Ability to upgrade mobile applications on service
upgrades
–  Or stable APIs of the enterprise services
•  You must consider your strategy to
supporting multiple versions of these
services
–  Not all changes will require supporting multiple
versions of your services
–  But changes to APIs and protocols will
Image: Stuart Miles/ FreeDigitalPhotos.net
27 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Versioned Web Pages
•  The stability of web pages is not as important as web services
•  Web pages are typically read by a human, not the mobile application
•  Exceptions
–  The page requires URL parameters and the API changes
–  The application is scrapping the returned HTML and the structure changes
•  Your options are different deployments with different URLs
•  Through different servers
•  Or versioned URLs
28 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Versioned Web Services
•  Options:
–  Different deployments with different URLs
•  Potentially different servers
•  Or versioned URLs
–  A variable xsl:anyType payload structure with the disadvantage the payload can
no longer be validated at runtime via the XSD
•  Not supported by the ADF web service data control
–  Regardless of the technology you may need to provide stable protocol versions
too (e.g. HTTP v1.1, SOAP v1.2)
–  Typical solution for web services is an Enterprise Service Buses (ESBs)
–  Alternatively you may require to maintain multiple running environments
•  Be wary of the license costs
29 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Web Service Auxiliary Services – Use-By-Date
•  While you can’t necessarily control
mobile application upgrades
–  Helpful to push users to new versions when
they connect
–  So you can eventually disable older services
–  Solutions:
•  Build-in a use-by-date disable function into
your mobile app
•  Or provide a mechanism for the mobile
application to determine a new version is
available
Image: Salvatore Vuono/ FreeDigitalPhotos.net
30 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Web Service Auxiliary Services – Heartbeat
•  For debugging and service sanity point of view
•  Useful to have a web service that reports “we’re up!”
•  Exercises the complete stack of software behind the web service
Image: jscreationzs / FreeDigitalPhotos.net
31 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Program Agenda
•  Introduction to ADF Mobile
•  ADF Mobile Framework
•  Application Design Considerations
•  Mobile 2 Enterprise Integration Challenges
•  Reusing ADF Business Components & SDOs
32 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Reusing ADF Business Component & SDOs
•  Existing ADF web-server systems may have considerable investment in
ADF BC and the embedded logic
–  It would be advantageous to reuse this
•  While ADF Mobile & other mobile technologies can’t reuse ADF BC directly
•  ADF BC can be published on servers to reuse externally as SDOs
–  11g – SOAP based, 12c+ will also support REST
33 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.33 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Exercise
Image: imagerymajestic/ FreeDigitalPhotos.net
While we can reuse ADF BC,
questionably what should we
reuse and how should the
ADF BC project be structured
for reuse?
34 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.34 Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Exercise
Image: imagerymajestic/ FreeDigitalPhotos.net
Given what we've learned, if
we want to support both a
web application and a native
mobile application, do we
need to change our
application architecture?
35 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Conclusion
•  ADF Mobile presents an excellent opportunity to leverage existing
skills and solutions to deliver mobile solutions for the enterprise
•  However even though the scale of mobile applications is small, they
present there own challenges beyond the mobile itself, enterprises
need to form and document a working mobile strategy
36 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Further Reading
•  ADF Mobile Website http://bit.ly/adfmobile
•  ADF Mobile Developer's Guide http://bit.ly/adfmobguide111230
•  ADF Mobile UX Guidelines http://bit.ly/adfmobileuxguidelines
37 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.

More Related Content

What's hot

What's hot (20)

Oracle ADF Architecture TV - Design - Project Dependencies
Oracle ADF Architecture TV - Design - Project DependenciesOracle ADF Architecture TV - Design - Project Dependencies
Oracle ADF Architecture TV - Design - Project Dependencies
 
Oracle ADF Architecture TV - Design - Application Customization and MDS
Oracle ADF Architecture TV - Design - Application Customization and MDSOracle ADF Architecture TV - Design - Application Customization and MDS
Oracle ADF Architecture TV - Design - Application Customization and MDS
 
Oracle ADF Architecture TV - Development - Programming Best Practices
Oracle ADF Architecture TV - Development - Programming Best PracticesOracle ADF Architecture TV - Development - Programming Best Practices
Oracle ADF Architecture TV - Development - Programming Best Practices
 
Oracle ADF Architecture TV - Planning & Getting Started - Team, Skills and D...
Oracle ADF Architecture TV -  Planning & Getting Started - Team, Skills and D...Oracle ADF Architecture TV -  Planning & Getting Started - Team, Skills and D...
Oracle ADF Architecture TV - Planning & Getting Started - Team, Skills and D...
 
Oracle ADF Architecture TV - Design - MDS Infrastructure Decisions
Oracle ADF Architecture TV - Design - MDS Infrastructure DecisionsOracle ADF Architecture TV - Design - MDS Infrastructure Decisions
Oracle ADF Architecture TV - Design - MDS Infrastructure Decisions
 
Oracle ADF Architecture TV - Design - Designing for Internationalization
Oracle ADF Architecture TV - Design - Designing for InternationalizationOracle ADF Architecture TV - Design - Designing for Internationalization
Oracle ADF Architecture TV - Design - Designing for Internationalization
 
Oracle ADF Architecture TV - Design - Architecting for PLSQL Integration
Oracle ADF Architecture TV - Design - Architecting for PLSQL IntegrationOracle ADF Architecture TV - Design - Architecting for PLSQL Integration
Oracle ADF Architecture TV - Design - Architecting for PLSQL Integration
 
Oracle ADF Architecture TV - Design - ADF Reusable Artifacts
Oracle ADF Architecture TV - Design - ADF Reusable ArtifactsOracle ADF Architecture TV - Design - ADF Reusable Artifacts
Oracle ADF Architecture TV - Design - ADF Reusable Artifacts
 
Oracle ADF Architecture TV - Design - Service Integration Architectures
Oracle ADF Architecture TV - Design - Service Integration ArchitecturesOracle ADF Architecture TV - Design - Service Integration Architectures
Oracle ADF Architecture TV - Design - Service Integration Architectures
 
Oracle ADF Architecture TV - Design - ADF Architectural Patterns
Oracle ADF Architecture TV - Design - ADF Architectural PatternsOracle ADF Architecture TV - Design - ADF Architectural Patterns
Oracle ADF Architecture TV - Design - ADF Architectural Patterns
 
Oracle ADF Architecture TV - Development - Naming Conventions & Project Layouts
Oracle ADF Architecture TV - Development - Naming Conventions & Project LayoutsOracle ADF Architecture TV - Development - Naming Conventions & Project Layouts
Oracle ADF Architecture TV - Development - Naming Conventions & Project Layouts
 
Oracle ADF Architecture TV - Design - ADF Service Architectures
Oracle ADF Architecture TV - Design - ADF Service ArchitecturesOracle ADF Architecture TV - Design - ADF Service Architectures
Oracle ADF Architecture TV - Design - ADF Service Architectures
 
Mobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with Oracle
Mobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with OracleMobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with Oracle
Mobile Mumbo Jumbo - Demystifying the World of Enterprise Mobility with Oracle
 
Oracle ADF Architecture TV - Development - Logging
Oracle ADF Architecture TV - Development - LoggingOracle ADF Architecture TV - Development - Logging
Oracle ADF Architecture TV - Development - Logging
 
Oracle ADF Architecture TV - Design - Task Flow Overview
Oracle ADF Architecture TV - Design - Task Flow OverviewOracle ADF Architecture TV - Design - Task Flow Overview
Oracle ADF Architecture TV - Design - Task Flow Overview
 
Oracle ADF Architecture TV - Design - Usability and Layout Design
Oracle ADF Architecture TV - Design - Usability and Layout DesignOracle ADF Architecture TV - Design - Usability and Layout Design
Oracle ADF Architecture TV - Design - Usability and Layout Design
 
Let's Talk Mobile
Let's Talk MobileLet's Talk Mobile
Let's Talk Mobile
 
Oracle ADF Architecture TV - Design - Designing for Security
Oracle ADF Architecture TV - Design - Designing for SecurityOracle ADF Architecture TV - Design - Designing for Security
Oracle ADF Architecture TV - Design - Designing for Security
 
Oracle ADF Architecture TV - Design - Task Flow Transaction Options
Oracle ADF Architecture TV - Design - Task Flow Transaction OptionsOracle ADF Architecture TV - Design - Task Flow Transaction Options
Oracle ADF Architecture TV - Design - Task Flow Transaction Options
 
CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...
CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...
CRUX (CRUD meets UX) Case Study: Building a Modern Applications User Experien...
 

Similar to Oracle ADF Architecture TV - Design - Architecting for ADF Mobile Integration

B3 mobile development and deployment platform enabled by oracle fusion midd...
B3   mobile development and deployment platform enabled by oracle fusion midd...B3   mobile development and deployment platform enabled by oracle fusion midd...
B3 mobile development and deployment platform enabled by oracle fusion midd...
Dr. Wilfred Lin (Ph.D.)
 
Managing Complexity in Mobile Application Deployment Using the OSGi Service P...
Managing Complexity in Mobile Application Deployment Using the OSGi Service P...Managing Complexity in Mobile Application Deployment Using the OSGi Service P...
Managing Complexity in Mobile Application Deployment Using the OSGi Service P...
mfrancis
 
Con8439 fusion apps customs to ebs
Con8439 fusion apps customs to ebsCon8439 fusion apps customs to ebs
Con8439 fusion apps customs to ebs
Berry Clemens
 

Similar to Oracle ADF Architecture TV - Design - Architecting for ADF Mobile Integration (20)

Adf mobile overview
Adf mobile overviewAdf mobile overview
Adf mobile overview
 
Delivering Mobile Apps to the field using Oracle
Delivering Mobile Apps to the field using OracleDelivering Mobile Apps to the field using Oracle
Delivering Mobile Apps to the field using Oracle
 
Future of Oracle Forms AUSOUG 2013
Future of Oracle Forms AUSOUG 2013Future of Oracle Forms AUSOUG 2013
Future of Oracle Forms AUSOUG 2013
 
Mobile Application Framework - OFM Canberra September 2014
Mobile Application Framework - OFM Canberra September 2014Mobile Application Framework - OFM Canberra September 2014
Mobile Application Framework - OFM Canberra September 2014
 
The Mobile Enterprise in Action: Managing Business Processes from Your Mobile...
The Mobile Enterprise in Action: Managing Business Processes from Your Mobile...The Mobile Enterprise in Action: Managing Business Processes from Your Mobile...
The Mobile Enterprise in Action: Managing Business Processes from Your Mobile...
 
B3 mobile development and deployment platform enabled by oracle fusion midd...
B3   mobile development and deployment platform enabled by oracle fusion midd...B3   mobile development and deployment platform enabled by oracle fusion midd...
B3 mobile development and deployment platform enabled by oracle fusion midd...
 
Delivering Mobile Apps to the Field with Oracle JET
Delivering Mobile Apps to the Field with Oracle JETDelivering Mobile Apps to the Field with Oracle JET
Delivering Mobile Apps to the Field with Oracle JET
 
Leverage Progress Technologies for Telerik Developers
Leverage Progress Technologies for Telerik DevelopersLeverage Progress Technologies for Telerik Developers
Leverage Progress Technologies for Telerik Developers
 
Delivering Mobile Apps to the Field with Oracle
Delivering Mobile Apps to the Field with OracleDelivering Mobile Apps to the Field with Oracle
Delivering Mobile Apps to the Field with Oracle
 
Implementing Data Caching and Data Synching Using Oracle MAF
Implementing Data Caching and Data Synching Using Oracle MAFImplementing Data Caching and Data Synching Using Oracle MAF
Implementing Data Caching and Data Synching Using Oracle MAF
 
Developing Mobile Applications for iOS and Android the Oracle way
Developing Mobile Applications for iOS and Android the Oracle wayDeveloping Mobile Applications for iOS and Android the Oracle way
Developing Mobile Applications for iOS and Android the Oracle way
 
Database@Home : Data Driven Apps : Core-dev or Low Code UI
Database@Home : Data Driven Apps : Core-dev or Low Code UIDatabase@Home : Data Driven Apps : Core-dev or Low Code UI
Database@Home : Data Driven Apps : Core-dev or Low Code UI
 
Oracle Cloud café sur les mobile apps 10 mars
Oracle Cloud café sur les mobile apps 10 marsOracle Cloud café sur les mobile apps 10 mars
Oracle Cloud café sur les mobile apps 10 mars
 
Managing Complexity in Mobile Application Deployment Using the OSGi Service P...
Managing Complexity in Mobile Application Deployment Using the OSGi Service P...Managing Complexity in Mobile Application Deployment Using the OSGi Service P...
Managing Complexity in Mobile Application Deployment Using the OSGi Service P...
 
Con8439 fusion apps customs to ebs
Con8439 fusion apps customs to ebsCon8439 fusion apps customs to ebs
Con8439 fusion apps customs to ebs
 
Oracle mcs overview 1029
Oracle mcs overview 1029Oracle mcs overview 1029
Oracle mcs overview 1029
 
Bring Your Legacy Applications to the Mobile World - DOAG 2014
Bring Your Legacy Applications to the Mobile World - DOAG 2014Bring Your Legacy Applications to the Mobile World - DOAG 2014
Bring Your Legacy Applications to the Mobile World - DOAG 2014
 
Building Better Mobile Backends with Oracle Mobile Cloud Service
Building Better Mobile Backends with Oracle Mobile Cloud Service	Building Better Mobile Backends with Oracle Mobile Cloud Service
Building Better Mobile Backends with Oracle Mobile Cloud Service
 
Information on Cloud-native Applications
Information on Cloud-native ApplicationsInformation on Cloud-native Applications
Information on Cloud-native Applications
 
Oracle E-Business Suitre mobile apps ADF
Oracle E-Business Suitre mobile apps ADFOracle E-Business Suitre mobile apps ADF
Oracle E-Business Suitre mobile apps ADF
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

Oracle ADF Architecture TV - Design - Architecting for ADF Mobile Integration

  • 1. 1 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
  • 2. 2 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Real World ADF Design & Architecture Principles Architecting for ADF Mobile Integration 15th Feb 2013 v1.0
  • 3. 3 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Learning Objectives •  At the end of this module you should be able to: –  Understand where ADF Mobile fits into the ADF ecosphere –  Describe ADF Mobile's capabilities and its platform –  Identify challenges of integrating mobile into the enterprise –  Consider if ADF BC web services SDOs are suitable for the ADF Mobile platform and how they can be integrated Image: imagerymajestic/ FreeDigitalPhotos.net
  • 4. 4 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Program Agenda •  Introduction to ADF Mobile •  ADF Mobile Framework •  Application Design Considerations •  Mobile 2 Enterprise Integration Challenges •  Reusing ADF Business Components & SDOs
  • 5. 5 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. ADF Mobile Benefits •  Mobile-enables Oracle Fusion Middleware and applications –  Without complexity and expense of integrating separate "mobile platform" •  Build-once, deploy to multiple platforms –  Common metadata-based application definition –  Device specific deployment packages generating native application files •  Tight device services integration –  Call to on device services such as GPS, camera, contacts and more –  Leverages open-sourced PhoneGap in the native application container
  • 6. 6 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. ADF Mobile Benefits •  Native device user experience –  Delivered through HTML5 UI components –  Full support for animations, gestures, and touch interaction –  Interactive data visualization components •  Enterprise-grade Mobile application security –  SSO and OAM/OID integration –  End-to-end encryption, for local database, communication channels, and cached credentials –  Access control for application features
  • 7. 7 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. ADF Mobile Benefits •  Leverage existing skills –  In Java and Web technologies –  Same development paradigm as ADF for server/Java EE applications –  Lowers TCO and learning curve
  • 8. 8 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Oracle’s Mobile Approach §  Deliver one common platform for both desktop-based and mobile enterprise apps §  Reuse your development skills and tools – Java and Web- based Development Skills §  Minimize development cycle and cost §  Extend enterprise apps and data to mobile clients §  Support multiple channels and platforms ORACLE  MOBILE  APPS   ORACLE  APPLICATION  DEVELOPMENT  FRAMEWORK   ISV  /  CUSTOM  APPS  
  • 9. 9 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Description Benefits Scenario ADF Faces Rich Client Components For desktop browser apps that are fully functional in iPad and Android tablet browsers •  Single codebase •  Simplest rollout, maintenance, portability Laptop/Desktop Replacement ADF Mobile Browser For web pages that adapt to the mobile browser where they are viewed Supports broad range of mobile browsers (smartphones and feature phones) Mobile Approval and Search ADF Mobile For mobile apps that install and run on iOS and Android devices •  Access to local storage and device services (camera, contacts, etc.) •  Offline Access •  Highly interactive and native look & feel Mobile Worker Mobile Approval and Search Mobile Development with Oracle ADF
  • 10. 10 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Java HTML5 Use Existing Skills Set Built On Standards Use  Exis:ng  Skills  Set   Built  On  Standards   Oracle ADF Mobile Simplify Development Write Once, Deploy to Many
  • 11. 11 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Integrated Development Environment §  Declarative and visual development §  Integration with Apple Xcode and Android SDK §  Consistent tooling §  Task Flows §  Data Controls §  Packaging §  Deployment §  Debugging
  • 12. 12 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.12 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Given we’ve now ADF Mobile, does this mean we can go without ADF server-based applications altogether? Could this be the replacement for ADF Swing? Exercise Image: imagerymajestic/ FreeDigitalPhotos.net
  • 13. 13 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. ADF Mobile Suitability •  Not designed to replace native development platforms (eg. XCode) –  Extremely unlikely that somebody will build ADF Angry Birds –  Its cross platform nature makes it a generalized development platform, not an optimized one •  Ideal for small mobile applications –  Unlikely to replace full blown enterprise applications –  But may provide many small apps that interface remotely •  Mobile UI is not suitable for extensive data entry applications
  • 14. 14 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Program Agenda •  Introduction to ADF Mobile •  ADF Mobile Framework •  Application Design Considerations •  Mobile 2 Enterprise Integration Challenges •  Reusing ADF Business Components & SDOs
  • 15. 15 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Framework Overview •  Thin Native container on each platform, allows for –  Native application install –  Device interaction via PhoneGap •  HTML5/JavaScript Frontend •  Java Backend –  Embeds a light headless JVM •  Content packaged as reusable modules –  Implemented as local or remote content
  • 16. 16 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. UI Content options •  Local AMX File –  JSF-like file built visually in JDeveloper –  Converted at RT HTML/JS on device •  Remote URL –  ADF Trinidad for Smartphones –  ADF Faces on Tablets –  Any third-party site •  Local HTML File –  Supports third-party HTML5 frameworks
  • 17. 17 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Access and Security •  Authentication: –  Out of the box integration with Oracle IDM –  Offline authentication –  Single login across Features •  Access Control: –  Role based access •  Encryption: –  Credential store –  Local data –  Communication channels
  • 18. 18 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Device Services How It Works? Phone Gap Device Native Container Web View Server HTML ADF Mobile XML View Java Managed Beans ADF Model Third Party Web Sites ADF Faces RC ADF Mobile Browser Mobile Device Web Services (SOAP & REST) Local HTML HTML5 & JavaScript Configuration Server ADF Controller Local  Data   CredentialManagement, SSO&AccessControl Application Configuration Server
  • 19. 19 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Program Agenda •  Introduction to ADF Mobile •  ADF Mobile Framework •  Application Design Considerations •  Mobile 2 Enterprise Integration Challenges •  Reusing ADF Business Components & SDOs
  • 20. 20 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Architecture “Within” ADF Mobile Apps Image: fotographic1980/ FreeDigitalPhotos.net
  • 21. 21 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.21 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. ADF Mobile is a relatively new technology. Best practices and architectures are still up for discussion at this stage. Image: Ambro / FreeDigitalPhotos.net
  • 22. 22 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Program Agenda •  Introduction to ADF Mobile •  ADF Mobile Framework •  Application Design Considerations •  Mobile 2 Enterprise Integration Challenges •  Reusing ADF Business Components & SDOs
  • 23. 23 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Mobile 2 Enterprise Integration •  Mobile 2 Enterprise –  Beyond the architecture within a mobile application –  How does the mobile application consume & communicate to remote enterprise services? –  How does mobile fit into the larger enterprise architecture? Image: Pong / FreeDigitalPhotos.net
  • 24. 24 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Mobile 2 Enterprise Integration •  Technically mobile’s can consume numerous technical protocols –  Within an enterprise domain this will typically include: •  Remote web pages •  Web services –  ADF Mobile v1.0 is capable of using both of these •  In built browser to access remote web pages •  Good support for SOAP based web service, reasonable support for REST
  • 25. 25 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Mobile 2 Enterprise Integration Challenges •  The nature of mobile devices are they are “mobile” –  Mobile devices cannot be easily maintained by the enterprise –  Enterprise workers may be offsite for days/weeks/ months –  Some applications are designed to go “off-line” or survive “wifi” and connection dead-spots •  If the enterprise services need to be upgraded and APIs change –  Presents challenge as the mobile application may not be easily upgraded Image: posterize/ FreeDigitalPhotos.net
  • 26. 26 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Providing Stable Enterprise Services •  Unless you can guarantee –  Ability to upgrade mobile applications on service upgrades –  Or stable APIs of the enterprise services •  You must consider your strategy to supporting multiple versions of these services –  Not all changes will require supporting multiple versions of your services –  But changes to APIs and protocols will Image: Stuart Miles/ FreeDigitalPhotos.net
  • 27. 27 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Versioned Web Pages •  The stability of web pages is not as important as web services •  Web pages are typically read by a human, not the mobile application •  Exceptions –  The page requires URL parameters and the API changes –  The application is scrapping the returned HTML and the structure changes •  Your options are different deployments with different URLs •  Through different servers •  Or versioned URLs
  • 28. 28 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Versioned Web Services •  Options: –  Different deployments with different URLs •  Potentially different servers •  Or versioned URLs –  A variable xsl:anyType payload structure with the disadvantage the payload can no longer be validated at runtime via the XSD •  Not supported by the ADF web service data control –  Regardless of the technology you may need to provide stable protocol versions too (e.g. HTTP v1.1, SOAP v1.2) –  Typical solution for web services is an Enterprise Service Buses (ESBs) –  Alternatively you may require to maintain multiple running environments •  Be wary of the license costs
  • 29. 29 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Web Service Auxiliary Services – Use-By-Date •  While you can’t necessarily control mobile application upgrades –  Helpful to push users to new versions when they connect –  So you can eventually disable older services –  Solutions: •  Build-in a use-by-date disable function into your mobile app •  Or provide a mechanism for the mobile application to determine a new version is available Image: Salvatore Vuono/ FreeDigitalPhotos.net
  • 30. 30 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Web Service Auxiliary Services – Heartbeat •  For debugging and service sanity point of view •  Useful to have a web service that reports “we’re up!” •  Exercises the complete stack of software behind the web service Image: jscreationzs / FreeDigitalPhotos.net
  • 31. 31 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Program Agenda •  Introduction to ADF Mobile •  ADF Mobile Framework •  Application Design Considerations •  Mobile 2 Enterprise Integration Challenges •  Reusing ADF Business Components & SDOs
  • 32. 32 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Reusing ADF Business Component & SDOs •  Existing ADF web-server systems may have considerable investment in ADF BC and the embedded logic –  It would be advantageous to reuse this •  While ADF Mobile & other mobile technologies can’t reuse ADF BC directly •  ADF BC can be published on servers to reuse externally as SDOs –  11g – SOAP based, 12c+ will also support REST
  • 33. 33 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.33 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Exercise Image: imagerymajestic/ FreeDigitalPhotos.net While we can reuse ADF BC, questionably what should we reuse and how should the ADF BC project be structured for reuse?
  • 34. 34 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.34 Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Exercise Image: imagerymajestic/ FreeDigitalPhotos.net Given what we've learned, if we want to support both a web application and a native mobile application, do we need to change our application architecture?
  • 35. 35 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Conclusion •  ADF Mobile presents an excellent opportunity to leverage existing skills and solutions to deliver mobile solutions for the enterprise •  However even though the scale of mobile applications is small, they present there own challenges beyond the mobile itself, enterprises need to form and document a working mobile strategy
  • 36. 36 Copyright © 2013 Oracle and/or its affiliates. All rights reserved. Further Reading •  ADF Mobile Website http://bit.ly/adfmobile •  ADF Mobile Developer's Guide http://bit.ly/adfmobguide111230 •  ADF Mobile UX Guidelines http://bit.ly/adfmobileuxguidelines
  • 37. 37 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.