developing mobile applications for ios and android the oracle way
DESCRIPTION
Presented at TOUG meetup on 2/26/2014TRANSCRIPT
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 1
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 2
Developing Mobile Applications for iOS and Android the Oracle Way Frédéric Desbiens Principal Product Manager Application Development Tools February 25, 2014
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 3
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 4
§ It’s a Mobile World After All
§ Mobile Development with Oracle Tools
§ Understanding ADF Mobile
§ The Big Picture: Oracle Mobile Platform
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 5
TWO THIRDS OF THE WORKFORCE WILL OWN A SMARTPHONE BY 2016, AND 40% OF THE WORKFORCE WILL BE MOBILE
SOURCE: GARTNER 2013
Enterprise Mobility
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 6
95% OF ALL SMARTPHONES CURRENTLY IN USE RUN IOS OR ANDROID SOURCE: STRATEGY ANALYTICS
Dominant platforms
Smartphone OS market share, 2013
Android iOS Windows Others
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 7
§ Rate of change § Constrained budget § Lack of skills § Cross platform support § Security § Backend integration
§ “It takes us months, no, years to release updates” § “Our IT budgets are shrinking, not growing” § “We can’t hire new iOS & Android developers” § “We need cross platform support to reduce costs” § “We want offline functionality with maximum security” § “We don’t want to change to our existing architectures”
Enterprise Mobile Challenges
Mobile Challenges Enterprise Concerns
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 8
§ Rate of change § Constrained budget § Lack of skills § Cross platform support § Security § Backend integration
§ “It takes us months, no, years to release updates” § “Our IT budgets are shrinking, not growing” § “We can’t hire new iOS & Android developers” § “We need cross platform support to reduce costs” § “We want offline functionality with maximum security” § “We don’t want to change to our existing architectures”
Enterprise Mobile Challenges
Mobile Challenges Enterprise Concerns
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 9
§ Rate of change § Constrained budget § Lack of skills § Cross platform support § Security § Backend integration
§ “It takes us months, no, years to release updates” § “Our IT budgets are shrinking, not growing” § “We can’t hire new iOS & Android developers” § “We need cross platform support to reduce costs” § “We want offline support with maximum security” § “We don’t want to change to our existing architectures”
Enterprise Mobile Challenges
Mobile Challenges Enterprise Concerns
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 10
§ Rate of change § Constrained budget § Lack of skills § Cross platform support § Security § Backend integration
§ “It takes us months, no, years to release updates” § “Our IT budgets are shrinking, not growing” § “We can’t hire new iOS & Android developers” § “We need cross platform support to reduce costs” § “We want offline support with maximum security” § “We don’t want to change to our existing architectures”
Enterprise Mobile Challenges
Mobile Challenges Enterprise Concerns
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 11
§ Rate of change § Constrained budget § Lack of skills § Cross platform support § Security § Backend integration
§ “It takes us months, no, years to release updates” § “Our IT budgets are shrinking, not growing” § “We can’t hire new iOS & Android developers” § “We need cross platform support to reduce costs” § “We want offline support with maximum security” § “We don’t want to change our existing architectures”
Enterprise Mobile Challenges
Mobile Challenges Enterprise Concerns
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 12
§ Rate of change § Constrained budget § Lack of skills § Cross platform support § Security § Backend integration
§ “It takes us months, no, years to release updates” § “Our IT budgets are shrinking, not growing” § “We can’t hire new iOS & Android developers” § “We need cross platform support to reduce costs” § “We want offline support with maximum security” § “We don’t want to change to our existing architectures”
Enterprise Mobile Challenges
Mobile Challenges Enterprise Concerns
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 13
§ Rate of change § Constrained budget § Lack of skills § Cross platform support § Security § Backend integration
§ “It takes us months, no, years to release updates” § “Our IT budgets are shrinking, not growing” § “We can’t hire new iOS & Android developers” § “We need cross platform support to reduce costs” § “We want offline support with maximum security” § “We don’t want to change our existing architectures”
Enterprise Mobile Challenges
Mobile Challenges Enterprise Concerns
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 14
Understand Your Mobile Requirement
§ Which device are you targeting? § What network are you using? § Which device feature do you leverage? § What is your end-users profile?
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 15
TRADITIONAL WEB SITES
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 16
MOBILE BROWSER
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 17
Characteristics
§ aka. Adaptive & Responsive Design § Websites specifically designed for mobile only § Online access via mobile device browser § Browser provides access to device features
(eg. camera, GPS, etc.)
MOBILE WEB
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 18
Disadvantages
§ Is not native § May not feel or operate like a native application § Duplicate code § Cannot call native optimized APIs (directly) § Cannot disconnect or go offline
MOBILE WEB
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 19
Characteristics
§ Application installed & runs on device § Uses native code and APIs § Optimized for mobile platform and form factor § Direct access to local storage and device services § Offline support
NATIVE APPLICATIONS
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 20
Disadvantages
§ Solution only deploys to one platform, it cannot be run across iOS & Android
§ Code reuse can be complex § Portability requires work § You’ll need both iOS & Android developers
NATIVE APPLICATIONS
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 21
HYBRID APPLICATIONS
Characteristics
§ Application installed on device § HTML5, CSS3, JS § Runs within a native web container § Inherently cross platform § Utilize existing skillsets § Direct access to local storage and device services § Code reuse and portability simplified
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 22
Mobile Development with Oracle Tools
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 23
Oracle APEX
§ Templates for mobile UI accessed from browser § Based on JQuery Mobile components
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 24
§ Touch gesture
§ HTML5 rendering
§ Flow layout
§ Smart table
§ More…
Mobile Optimizations
Oracle ADF Faces
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 25
Java HTML5
Use Existing Skills Set
Built On Standards
Use Existing Skills Set
Built On Standards
Oracle ADF Mobile
Oracle ADF Mobile New Hybrid Mobile Solution
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 26
Here’s the proof Android and iOS side by side
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 27
Oracle offers a continuum of complementary solutions
ADF Mobile APEX ADF
The right tools for the job
Hybrid apps
Mobile web apps
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 28
Understanding Oracle ADF Mobile
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 29
ADF Mobile Architecture Device Native Container
Java VM
ADF Model
Java Business
Logic Encrypted SQLite DB
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 30
ADF Mobile Architecture Device Native Container
Java VM
ADF Model
Web View
Server HTML
ADF Mobile XML View Local
HTML
HTML5 & JavaScript Presentation
ADF Controller
Encrypted SQLite DB
Java Business
Logic
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 31
ADF Mobile Architecture Device Native Container
Web View
Server HTML
ADF Mobile XML View
Java VM
ADF Model
Local HTML
HTML5 & JavaScript Presentation
ADF Controller
Encrypted SQLite DB
Java Business
Logic
Device Services
Mobile Device
Cordova
Native View
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 32
ADF Mobile Architecture
Device Services
Cordova
Device Native Container Web View
Server HTML
ADF Mobile XML View
Java VM
ADF Model
Mobile Device
Local HTML
HTML5 & JavaScript Presentation
ADF Controller
Encrypted SQLite DB
Third Party Web Sites
Server or Cloud backend
Oracle IDM Oracle IAM
SOAP & REST Web Services
Configuration Server
Servers
Native View
Java Business
Logic
Credential M
anagement,
SSO &
Access C
ontrol
App
Config
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 33
UI Development
§ Device native user experience § Spring board and tab bar for
feature navigation § Advanced HTML5-based UI
– Full animation, gesture, and touch interaction support
§ Interactive Data Visualization Components
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 34
Business Services Development
§ Code logic with Java § Lightweight JVM § Native library on device § Easy access to remote services
– SOAP – REST (JSON/XML)
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 35
UI Content options § Local AMX File
– JSF-like file built visually in JDeveloper
– Generated into HTML/JS on device at RT
§ Remote URL – Any server-side HTML – ADF Mobile Browser Apps – ADF Faces Apps
§ Local HTML File – Coded with any third-party
HTML5 frameworks
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 36
ADF Mobile XML Components (AMX)
§ XML format built visually in JDeveloper § 50+ Components § Declarative data binding § Rendered into HTML5
on device at RT
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 37
Rich Component Set
Oracle proprietary and confidential
• Carousel • T-Maps
• ListView
• Gauge
• Charts
• GeoMap
• Basic Components • Forms
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 38
ADF Controller
§ Define the flow of your application § Navigate between pages § Similar to ADF Web Controller
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 39
ADF Binding – Simplify UI Creation
§ Drag and drop service components to create UI components
§ Drag data or methods § Drop as various UI components
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 40
Device Features Interaction
§ Leverages PhoneGap/Cordova § Drag and drop to use
– Email – SMS – Contacts – GPS – Camera
§ Or access programmatically
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 41
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
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 42
ORACLE ADF MOBILE ENOUGH WITH THE SLIDES!
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 43
The Big Picture: Oracle Mobile Platform
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 44
MOBILE SECURITY
Build Your Own Apps
Oracle’s Mobile Apps
MOBILE STRATEGY
ORACLE MOBILE PLATFORM
APP
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 45
SAAS HCM RECRUITING
SAAS HCM RESUME SCREENING
SAAS HCM CANDIDATE SCREENING
SAAS HCM SUCCESSION PLANNING
SAAS HCM TIME CARD
SAAS HCM INTERVIEW
MANAGEMENT
SAAS HCM TALENT REVIEW
SAAS HCM LEARNING
SAAS HCM
TIME CARD
PeopleSoft MAINTENANCE SERVICE
REQUEST
JD Edwards EXPENSES
E-Business Suite REQUISITION
SAAS HCM APPROVALS
PeopleSoft TIME REPORTING
PeopleSoft PROJECTS
PeopleSoft TRAVEL AUTHORIZATION
PeopleSoft CASH MANAGER
PeopleSoft EXECUTIVE HOMEPAGE
PeopleSoft LINE LEVEL MANAGER
JD Edwards REQUISITIONS
JD Edwards SERVICE ORDERS
JD Edwards PURCHASE ORDERS
JD Edwards PO APPROVAL
JD Edwards SUPPLIER SELF SERVICE
JD Edwards PROJECTS ON THE GO
E-Business Suite SUPPLIER SELF SERVICE
E-Business Suite PROJECTS ON THE GO
E-Business Suite WAREHOUSE INTEGRATION
E-Business Suite AGILE PLM
E-Business Suite EXPENSES
E-Business Suite COMPANY DIRECTORY
PeopleSoft PAYMENT REQUEST
PeopleSoft PROCUREMENT OFFICER
HOMEPAGE
PeopleSoft TIME CARD
PeopleSoft BENEFIT PLANS MODIFICATION
Siebel CRM CUSTOMER 360
Siebel CRM MOBILE KNOWLEDGE
REQUISITIONS
SAAS HCM PeopleSoft TIMECARD
PeopleSoft BENEFIT PLANS MODIFICATION
PeopleSoft GUIDED SELF SERVICE
JD Edwards WAREHOUSE INQUIRY
E-Business Suite EXPENSES
E-Business Suite ASSET MANAGEMENT
E-Business Suite WORKER ABSENCES
E-Business Suite WORKER PORTRAIT
SAAS HCM WORKER ABSENCES
JD Edwards ASSET MANAGEMENT
Siebel CRM PRM
Siebel CRM CLIENTELLING
PeopleSoft EXPENSES
PeopleSoft REQUISITIONS
PeopleSoft APPROVAL
PeopleSoft COMPANY DIRECTORY
Siebel CRM PHARMA SALES LIFE
SCIENCES
Siebel CRM
PHARMA SALES REP
SAAS HCM RESUME SCREENING
Siebel CRM TPM CONSUMER GOODS
Siebel CRM OPPORTUNITIES
SAAS HCM WORKER PORTRAIT
Siebel CRM RETAIL EXECUTION CONSUMER GOODS
Siebel CRM CONTACTS
SAAS HCM APPROVALS
SAAS HCM CANDIDATE SCREENING
JD Edwards EXPENSES
SAAS HCM COMPANY DIRECTORY
SAAS HCM RECRUITING
Siebel CRM SERVICE ORDERS
JD Edwards PO APPROVAL
JD Edwards REQUSITIONS
SAAS HCM GOALS
E-Business Suite
ORDERS
E-Business Suite SERVICE ORDERS
E-Business Suite TRANSPORTATION
E-Business Suite AGILE PLM
Siebel CRM SERVICE REQUEST
STATUS
Siebel CRM FIELD SERVICE
E-Business Suite REQUEST STATUS
PeopleSoft EXPENSES
PeopleSoft REQUISITIONS
PeopleSoft APPROVAL
PeopleSoft COMPANY
DIRECTORY
Siebel CRM PHARMA SALES LIFE
SCIENCES
Siebel CRM
PHARMA SALES REP
SAAS HCM RESUME SCREENING
Siebel CRM TPM CONSUMER
GOODS
Siebel CRM OPPORTUNITIES
SAAS HCM WORKER PORTRAIT
Siebel CRM RETAIL EXECUTION CONSUMER GOODS
Siebel CRM CONTACTS
SAAS HCM APPROVALS
SAAS HCM CANDIDATE SCREENING
JD Edwards EXPENSES
SAAS HCM COMPANY
DIRECTORY
SAAS HCM RECRUITING
Siebel CRM SERVICE ORDERS
JD Edwards PO APPROVAL
JD Edwards REQUSITIONS
SAAS HCM GOALS
E-Business Suite ORDERS
E-Business Suite SERVICE ORDERS
E-Business Suite TRANSPORTATION
E-Business Suite AGILE PLM
Siebel CRM SERVICE REQUEST
STATUS
Siebel CRM FIELD SERVICE
E-Business Suite REQUEST STATUS
Mobile Apps Today… and More on the Way
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 46
Maximize existing IT investments
§ Develop cross platform & multi channel applications
§ Integrate data and services across the Enterprise and Mobile devices
§ Secure information uniformly across all layers of enterprise and mobile apps
§ Deploy & Manage cloud and on-premises for multi-channel delivery
One Platform, Any App, Any Data, Any Device – Secure Oracle Mobile Platform
ON-PREMISE PACKAGED
APPLICATIONS CUSTOM
APPLICATIONS CLOUD
Multi-Channel NATIVE, WEB, HYBRID
SECURE
DEVELOP
INTEGRATE
MA
NA
GE
DEP
LOY
ORACLE MOBILE PLATFORM
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 47
Oracle's Mobile Platform: Product View
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 48
Oracle's Mobile Platform: Product View
Oracle Mobile Suite
§ Available Early 2014 § On Premise
§ ADF Mobile § Oracle Service Bus § Technology & Application Adapters § OSB Runs on WebLogic Suite
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 49
ORACLE MOBILE SUITE ENOUGH WITH THE SLIDES!
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 50
Oracle's Mobile Platform: Product View
Oracle Mobile Security § Available in 2014 § On Premise
§ Mobile Access, Device & App Management § Bitzer
§ Authentication, inc. SSO, Kerberos etc § Encryption in transit & at rest § Data leakage control § Policy control § Enterprise App Store
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 51
Bitzer Mobile Solution Component Architecture
Mobile Security Container secures data and enforces DLP AppTunnel replaces mobile VPN Mobile Security Access Server supports Windows SSO & 2-factor
Admin Console manages security and authorization policy
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 52
Oracle Mobile Security Suite End State Architecture
/ Corporate DMZ Corporate Network
Oracle Access Manager With Mobile & Social OAM Protected
Resources
HTT
P/R
ES
T/S
OA
P/O
AU
TH
SOAP/REST and Legacy Web Services
Oracle Mobile Access Server
Oracle Identity Governance with Mobile
Application Mgmt
Apple/Google Push
Notification Oracle Mobile
Agent
Device & Policy Registry (OID/OUD)
Oracle API Gateway REST/Mobile Security
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 53
Oracle Mobile Platform: Product View
Oracle Mobile Cloud Services § Available in 2014 § Off Premise
§ Cloud-based integration § Simplify integration § Automatic REST service generation § Connectivity to back-end systems § Authentication, cache, sync, push, data
transformation
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 54
ORACLE MOBILE APP FW
Native
Others
Oracle Mobile Cloud Service
Oracle Cloud Public Cloud On-premise
ON-PREMISE PACKAGED
APPLICATIONS
CUSTOM APPLICATIONS
CLOUD
Mobile APIs
User Services Storage
Data Shaping Custom Logic
SECURE • REST/JSON • Persistence • Continuous Query • Sync • Push Notifications • Geo Location • Media Services
MOBILE CLOUD SERVICE
Analytics Monitoring Management
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 55
Conclusion
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 56
ADF ACADEMY FREE ONLINE COURSE ON ADF MOBILE
http://bit.ly/adfmobilecourse
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 57
Summary
§ Mobile is not a trend anymore § Oracle ADF Mobile – On-Device iOS and Android Applications § Oracle Mobile Platform
– Oracle Mobile Suite – Oracle Mobile Security – Oracle Mobile Cloud Service
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 58
Join the JDeveloper / ADF Community
oracle.com/jdev
Twitter twitter.com/JDeveloper Facebook facebook.com/JDeveloper Oracle’s JDeveloper PM blog blogs.oracle.com/ JDeveloperpm
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 59
Let’s keep in touch!
Twitter twitter.com/BlueberryCoder Official blog blogs.oracle.com/blueberry ADF Insider Essentials channel www.youtube.com/user/ADFInsiderEssentials
COLLABORATE 14 – IOUG Forum
■ 5 days of training with more than 5,500 expert Oracle users
■ Case studies and sessions cover the latest in: ▪ Big Data ▪ BI ▪ Cloud Computing ▪ Database
■ Learn more at collaborate14.ioug.org
▪ Engineered Systems ▪ High Availability ▪ OEM ▪ Security
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 61
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 62