Upload
others
View
4
Download
0
Embed Size (px)
Citation preview
Mobile Application Development: Introducing ADF Mobile Native
Client Framework
Denis Tyrell, Senior Director of Product Development, ADF/JDeveloper
Joe Huang, Senior Principal Product Manager, ADF/JDeveloper
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.
<Insert Picture Here>
Session Agenda
• Framework
• Demo
• Roadmap
• Questions and Answers
What New Requirements Are We Trying to Meet?
• Mobile requirements not met by mobile
browser applications:
– Complete offline data capabilities
– Device native user experience
– Consistent performance regardless of network
connectivity
– Deep device services integration
• Developer requirements
– One tool that builds one application that can be
deployed multiple mobile platforms
– Reuse ADF developer skills to develop mobile
application
<Insert Picture Here>
“Complete Design-time & Runtime
framework for developing on-device,
Java Applications”
ADF Mobile Client
“Write once, and deploy to multiple
mobile platforms”
Introducing….A New Feature of Application
Development Framework:
What is ADF Mobile Client?
• Extends enterprise ADF applications to on-device
mobile clients
• Similar experience as developing a web
application
• Java-based runtime client
• Meta-data driven development paradigm (XML)
• Complete MVC stack on the device
• UI metadata rendered to native controls on-
device to provide a native user-interface
Model
Controller
View
Java Client
Local DB
Oracle ADF Mobile Client – Completing the Mobile
PlatformRichness of User Interaction
Native
(Full Java Clients)
Device Service Access & Offline Support
AJAX
(Smartphone Mobile Browsers)
Make business data available regardless of network connectivity.
Deep integration with device services
HTML
(HTML Mobile Browser)
Delivers a rich mobile web experiences through AJAX and Web 2.0 technologies.
UI rendering degrades gracefully to deliver HTML content to a wide set of consumer devices with basic HTML browsers.
ADF Mobile Browser(Current Offering)
ADF Mobile Client(New)
Server-side Components
• Oracle Database Lite (OpenSync) Mobile Server – Data Synchronization
– Server DB (Oracle) <-> Client (SQLite) DB
• ADF Mobile Transaction Replay Service (MTRS)– Automatically replays client-side application transaction on server
– Complements Mobile Server Synchronization
BlackBerry Device
Desktop/Mobile Browser Clients
Mobile Server
Publications
PublicationsApplication Server
ADF Mobile Client Data Synchronization
SQLite
ADF MobileClient
mSync
Windows Mobile
mSync
Others
Base ADF App
ServerDatabase
SQLite
ADF BC/EO
ADF BC/VO/AM
Web Services
Synchronization Support
• Complete and Delta
• One-way and two-way
• User-invoked, background, and programmatic
ADF MobileClient
Demonstration Scenario – Appliance Repair
Dispatch and Service
• Avitek Company
– Onsite Appliance Repair
• Personas and Scenario:
– Service Manager (ADF Mobile Browser using iPhone)
• Checks for new service requests
• Determines best technician and assigns new service
request
– Technician (ADF Mobile Client using BlackBerry smartphone)
• Receives a notification from central dispatch
• Reviews service request information, including location
• When onsite, technician launches service repair application
for product repair and status updates
Application
Demonstration
Service Manager Application - Login
• Service Manager logs
into ADF Mobile
Browser Application
Service Manager Application – Unassigned SRs
• Service Manager sees
new unassigned SR
• Native look-and-feel
– On iPhone, application
looks like native iPhone
application
– On BlackBerry, application
would be optimized for
BlackBerry browser display
– Also completely compatible
with WAP/Plain HTML
browser in consumer
phones
Service Manager Application – SR Analytics
• Service Manager
reviews SR breakdown
and assignment graphs
• Data Visualization
components for ADF
Mobile Browser
– Charts, graphs, gauges,
etc.
– Compatible with mobile
phone browsers
Service Manager Application – Search for
Technicians
• Service Manager clicks
“Assign” in the home
screen to get to this
screen
• Service Manager then
searches technician by
City
Service Manager Application – Technician List and
Current Locations
• Service Manager clicks
“Search” to return
technicians based in
San Francisco
• A Google map displays
SR location and
technician locations
– Easy integration with
Google Maps API
– Integration with
BlackBerry services for
current locations
Service Manager Application – Technician Skills
Chart and Select Technician
• Service Manager
checks for technician
skills and select
Alexander for the job
• Service Manager (ADF
Mobile Browser)
application sends a
Push Message to
BlackBerry device via
BlackBerry Enterprise
Server
Technician Application – Technician Receives
BlackBerry Push Message
• Dispatch
message is
instantly pushed
to Technician’s
BlackBerry
device
• Push message
notification is
displayed on the
BlackBerry home
screen
Technician Application – Technician Reviews
Message Inbox
• Push message is
displayed in the
BlackBerry
Message Inbox
• Technician
opens the Push
Message
Technician Application – Technician Reviews
Message and Map
• Push Message
contains
– Key SR
information
– BlackBerry Map
and Link (Not
Shown – Below
the map) to
Driving Directions
– Button to Launch
the Technician
application
Technician Application – Technician Uses
BlackBerry Map for Navigation
• Technician
opens the
BlackBerry Map
from the Push
Message
• Technician
select “Navigate
To Here” to
navigate to the
job site
Technician Application – Technician Launches the
Technician Application
• Technician
opens the
Technician App
(ADF Mobile
Client)
• New SR data is
automatically
synchronized
down to the
device via Oracle
Lite Mobile
Server
Technician Application – Technician Logs In
• Complete set of
Security APIs for
Mobile Client
Technician Application – Technician Reviews New
SRs from Server and Select
• Technician
reviews list of
open Service
Requests
• Technician
opens SR 114 for
the current job
by drilling down
(clicking) on the
SR
Technician Application – Technician Reviews
Service Request Details
• Technician
reviews Service
Request details
• Completely
mobile device
native user
experiences
Technician Application – Mobile Device Native UI
Controls
• ADF Mobile
Client renders to
mobile device
native UI
controls
• In this example,
technician
selects the Date
field on the
screen
Technician Application – Complete Integration with
Device Native Menus
• ADF Mobile
Client integrates
with device menu
systems
• In this example,
technician clicks
the BlackBerry
menu button on
the Description
field
Technician Application – Drilling down on Symptom
For Instructions to Repair Dryer
• Technician
reviews repair
instruction to
perform repairs
• Click Perform
after technician
replaces the
circuit board
Technician Application – Technician Enters Notes
and Finishes Work
• Technician
completes repair
as per
recommendation
• Enters notes into
the note field,
and click Finish
to complete the
process
Technician Application – Technician Closes the SR
and Saves the SR
• Technician
updates status to
Closed, and
Clicks Save
Technician Application – SR is Removed from My
Service Request Screen
• SR status and
history are now
saved to the
device SQLite
database
• Note that SR 114
has been
removed from
the list
Technician Application – Technician Synchronizes
Data Back to Server
• Typically
background
synchronization
(where available)
would
synchronize data
to server
• Technician can
also initiate
synchronization
using mSync
Client
Service Manager Application – Service Manager
Reviews SR Status
• Service Manager
can sees
updated SR
Status after
synchronization
Service Manager Application – Service History
Synchronization
• Service History
and Notes are
also
synchronized to
the server
Technician Application – Running on Windows
Mobile
• Windows Mobile
version of
Technicians
Application
• SR Details
Screen
– Native Windows
Mobile UI
Controls, Menus,
etc.
Technician Application – Mobile Device Native UI
Controls
• Windows Mobile
version of
Technicians
Application
• Date and Time
Picker
Technician Application – Integration with Mobile
Device Menu System
• Windows Mobile
version of
Technicians
Application
• Integration with
Windows Mobile
Menus
– Support for both
right and left
menus
Service Mgr App
(Mobile Browser
optimized)
Oracle Lite Mobile Server
Publications
Publications
WebLogic Application Server
Demonstration Application Architecture
BlackBerry Smartphone
SQLite
Technician App (ADF Mobile Client)
mSync
SRDemo/Dispatcher ADF Browser Client App.
ServerDatabase
BlackBerry
Enterprise Server fo
r MDS Apps
BlackBerryMaps
BlackBerryMessageInbox
1. Service Manager assigns SR
2. Dispatch is pushed to the BlackBerry Device as Push Message (SMS for other platforms)
3. Data is automatically synchronized from Push Message (user initiated if using SMS)
4. Technician performs repairs and sync status back
Oracle Fire
wall
1
1
2
23
3
4
4
443
Application Server
Mobile Server
Server Data
Transactions
Introducing Mobile Transaction Replay Service
Mobile Transaction Replay ServiceMobile Transaction Replay Service
Mobile Device
SQLite
MobileClient
mSync
Mobile Device
Mobile Client
mSync
Get Transactions Transform & Dispatch
Others
Base ADF App
ServerDatabase
• Default support for Entity Object Transaction Execution in V1
• Example Use Case: Allow technician to re-assign SRs
•Requires server-side service to send Push Message
ADF BC/EO
ADF BC/AM
Web Services
SQLite
ADF Mobile Client Development Process
Application Server
App1
ADF Business Component
UI
Pages
JSR 227
Mobile Server
App2
T1
T2
T3
Tn
…
App1
T1
T2
T3
Tn
…
Mobile Device MSync
App1
T1’
T2’
Transaction Replay Service
DB Navigator
App Deploy
Mobile App Deploy
Mobile Data Deploy
User1
Pub1
Pub2
PI1
PI2
PI6
PI7
User1
Terminology:
• Publication Item (PI) = (ADF BC) Entity Object = DB Table/View
• Publication (Pub) = Application
ServerDatabase
ADF Mobile Client Development Process
1. Deploy Base ADF Application’s Business Component as ADF
Library
2. Generate ADF BC for Mobile Client from Base ADF
Application’s ADF Business Components
3. Add/update ADF Business Components for Mobile Client
application
4. Create Mobile Client Task Flow
5. Define Mobile Client pages
6. Deploy Application Data and generate Oracle DB Lite Mobile
Server Synchronization Rules (Optional)
7. Deploy to Mobile Device or Device Package
8. Deploy Mobile Transaction Replay Service components
(Optional)
Development
Demonstration
JDeveloper – Complete and Integrated Support for
Developing Mobile Applications
• ADF Mobile
Client is simply
another type of
application
supported by
JDeveloper
• Tech Preview
will be available
as Extension
from Help-Check
For Updates
Menu Item
JDeveloper – New ADF Mobile Client Application
Template
• New Mobile
Client application
Template
• Consists of a
Model and a
Mobile Client
(Task Flow and
Pages) project
JDeveloper – ADF BC Creation Wizard for Mobile
Clients
• New wizard to
generate ADF BC
for Mobile
Clients
– Based on “Base”
ADF Application
ADF BC library
• Creates Entity
Objects, View
Objects, and
Application
Modules
JDeveloper – Familiar ADF BC Editors and Services
• Familar ADF
Business
Component
Editors to define
application logic
• Mobile Client
supports a
subset of ADF
BC functionality
as the “server”
version
JDeveloper – Visual Task Flow Editor to Define
Mobile Client Navigation Logic
• Familiar ADF
Task Flow Editor
to define
navigation logic
• Supports task
flow component
such as Router
and Method Call
JDeveloper – Visual Page Designer
• WYSIWYG
Preview Tab
– Preview multiple
device UIs at the
same time
• Drag-and-Drop
UI Components
into Structure
Pane or Code
Tab
– Preview is
updated
dynamically
JDeveloper – Data Control Drag-and-Drop Wizard
• Create Data-
bound UI
controls by drag-
and-dropping
Data Controls
• Automatically
generate data
bindings and UI
components
JDeveloper – Deployment Support for Multiple
Platforms
• Develop one
application,
and deploy to
multiple
device
platforms
JDeveloper – Deploy Application Synchronization
Rules to Mobile Server
• Automatically
generate
synchronization
rules based on
ADF Business
Components in
the Model Project
JDeveloper – Deploy to Device or to Package
• Deployment
options:
– Deploy
Application Data
synchronization
rules
– Deploy to Device
attached via USB
– Deploy to device-
native
deployment
package
ADF Mobile Client: FAQs and Additional Details
• Device Management
– Windows Mobile: Oracle
Database Lite Mobile Server
• Device provisioning and
configuration
• Application provisioning
and configuration
• User management and
management console
– BlackBerry: BlackBerry Enterprise Server
• Proven technology for device management
and application deployment
ADF Mobile Client: FAQs and Additional Details
• Licensing Requirements
– JDeveloper is completely free (Of Course!)
– ADF Runtime license
– Oracle Database Lite Mobile Server License
• If synchronization is needed
• Platform support details (plans)
– BlackBerry (5.0 and above) and Windows Mobile (5 and 6)
– Additional platforms under consideration for future releases are
Android, Symbian/Nokia, iPhone, and etc.
• Current support for iPhone, Android, Palm Pre, and all
other mobile devices are delivered through ADF Mobile
Browser
Roadmap – ADF Mobile Client and JDeveloper
• Technical Preview planned for 2009
– Targeted to be delivered as an
Extension/Update for JDeveloper 11g
PatchSet1 (11.1.1.2.0)
• Production Release planned for 2010
– Including:
• Developer feedback
• Performance optimization
– Dependent on BlackBerry OS Updates
Learn More at OOW and Oracle Develop
• Related Sessions and Hands-on Labs:
• Oracle JDeveloper and ADF at the Demoground
– Moscone West - W-114, W-116, W-109
• BlackBerry Demo Booth (Running ADF Mobile Demo)
– Moscone South – 209 (Behind the Verizon Wireless Booth)
• ADF day at OOW Un-conference
– Wed 9:00-5:00 Moscone West – Overlook 1
• Win a Wii – visit Oracle Usability pod
– In the Oracle Develop lobby
Date Session
Thur – 9 - 10 am Mobile App Development: rapid, declarative, multi-
channel, and multi-platform
Resources and Technical Preview for ADF Mobile
Client
• ADF Mobile Resources:
– Product Information:
http://www.oracle.com/technology/tech/wireless/adf_mobile.
html
• Obtaining the Technical Preview:
– Download JDeveloper 11g PatchSet1 when available
– Look for announcements/resources at
http://www.oracle.com/technology/tech/wireless/adf_mobile.
html or http://www.oracle.com/technology/jdev
– Download ADF Mobile Client extension from JDeveloper
update center
<Insert Picture Here>
More Information on Oracle JDeveloper
• http://oracle.com/technology/jdev
• Tutorials and How-To’s
• Samples
• Demos
• Books and Training
• Discussion forum
• Blogs
• More…
Questions &
Answers
Thank You!!