take your oracle forms on the road using adf mobile · pdf filemia urman, auraplayer @miaurman...
TRANSCRIPT
![Page 1: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/1.jpg)
Mia Urman, AuraPlayer
@miaurman
Take Your Oracle Forms on the Road
Using ADF Mobile
![Page 2: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/2.jpg)
Mia UrmanCEO, AuraPlayer
Oracle ACE and Oracle Forms Evangelist
• 15 years supporting, training and consulting Oracle Tools
• 7 years at Oracle as a senior support analyst and local product manager of Forms and ADF.
• Founder of AuraPlayer - Oracle Forms modernization solutions to unlock Forms systems and fast-track to a Mobile / SOA architecture / Cloud
• ODTUG board member , international speaker at Kscope, OOW, UKOUG
![Page 3: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/3.jpg)
Session Agenda• Why Go Mobile?
• Oracle ADF Mobile Overview
• Components of ADF Mobile
– The Data Layer
– The UI Presentation Layer - AMX Components
– Integrating Device Features
• Running Oracle Forms on the Mobile
• Getting Started
![Page 4: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/4.jpg)
![Page 5: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/5.jpg)
GLOBAL MOBILE
3G SUBSCRIBERS
5 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.
![Page 6: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/6.jpg)
What Device is Accessing Your
Application?
![Page 7: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/7.jpg)
Client Server
Evolving With Oracle Forms
![Page 8: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/8.jpg)
Client Server
Mobile
Evolving With Oracle Forms
![Page 9: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/9.jpg)
Understanding Mobile Requirements
• Application Functionality - No mouse, Touch gestures
• Device Type – Phone / Tablet
• Screen size
• Network type – Security , Speed
• Device features integration
• Types of Users – Occasional, Internal/external
• Type of Applications – Browser Based / Hybrid
![Page 10: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/10.jpg)
Mobile Web App(Viewed in Safari)
3 Mobile Application Types
Mobile WebApps
Online application accessed through mobile device browser
Browser governs access to local storage and device services (camera, GPS, etc.)
Highly reusable code
Highly portable
Native MobileApps
Application installed & runs on device
Optimized for specific mobile platform and form factor
Direct access to local storage and device services
Code reuse can be complex
Portability requires work
Hybrid MobileApps
Application installed & runs on device with HTML5 UI
Optimized for specific mobile platform & form factor
Direct access to local storage and device services
Code reuse simplified
Portability simplified
Native App(iOS)
![Page 11: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/11.jpg)
Oracle ADF – Multi Channel Framework
OracleADF
Database
Web Services
CloudWeb
MobileOffice
Legacy Systems
Oracle
Applications
![Page 12: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/12.jpg)
Java HTML5
Use Existing Skills Set
Built On Standards
Use Existing Skills Set
Built On Standards
Oracle
ADF Mobile
Oracle ADF MobileUnique Hybrid Mobile Framework
![Page 13: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/13.jpg)
ADF Mobile Overview
• Thin Native container on each platform
– Allows for device interaction
– Push notification support
• HTML5/JavaScript Frontend
• Java Backend
• Encrypted SQLite
![Page 14: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/14.jpg)
Focused on Productivity
•Oracle JDeveloper Extension
•Declarative and visual development
•Integration with Apple Xcode and Android SDK
Component based UI construction
Task Flows
Data Controls
Packaging
Deployment
Debugging
Integrated Development
Environment
![Page 15: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/15.jpg)
Business Services Development
• Code logic with Java
• Lightweight JVM
• Easy access to Remote - Web service
– SOAP
– REST XML, REST JSON
• Local Business Logic
– Java Classes
– SQLite DB - Portable, lightweight relational database
![Page 16: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/16.jpg)
UI Content options• Device native user experience
• Local AMX File
– JSF-like file built visually in JDeveloper
– Generated into HTML/JS
on device at RT
• Remote URL
– Any server-side HTML
• Local HTML File
– Coded with any third-party HTML5
frameworks
![Page 17: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/17.jpg)
ADF Mobile XML Components (AMX)
• XML format built visually in
JDeveloper
• 50+ Components
• Declarative data binding
• Rendered into HTML5
on device at RT
![Page 18: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/18.jpg)
CarouselT-Maps
ListView
Gauge
Charts
GeoMap
Basic Components Forms
![Page 19: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/19.jpg)
DVT Charts, Gauges, Maps
![Page 20: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/20.jpg)
Device Rich Features
![Page 21: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/21.jpg)
Do you still carry around
one of these?
![Page 22: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/22.jpg)
Device Features Interaction
• Leverages Apache Cordova
• Drag and drop to use
– SMS
– Contacts
– GPS
– Camera
• Or access programmatically
![Page 23: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/23.jpg)
Gesture Navigation Support
• Configure components to react to the following gestures:
– Swipe to the right, left, up, down
– Tap-and-hold
• Set the “Type” attribute when using the following
operations:– Set Property Listener (e.g. setting Scope Variables)
– Action Listener (e.g. invoking Backing Beans)
– Show Popup Behavior & Close Popup Behavior
– Navigating between Panel Items
![Page 24: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/24.jpg)
Data Caching Challenges• Mobile devices can lose/turn off connectivity
• Offline access to data is a common requirement
• But it will increase the complexity of your application
• If you cache data locally you must consider
– When to cache the data
– How much data to cache
– When to synchronize updates
– Recording the order of updates
– How to deal with synchronization conflicts
– Security of the data if the device is lost
Security
![Page 25: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/25.jpg)
Getting Started
Oracle Forms Using ADF Mobile
![Page 26: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/26.jpg)
![Page 27: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/27.jpg)
Exposing Oracle Forms to ADF Web Desktop Mobile Office
Database Web Services Legacy Systems Applications Unlimited
![Page 28: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/28.jpg)
Exposing Oracle Forms to ADF Web Desktop Mobile Office
Web Services
![Page 30: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/30.jpg)
• AuraPlayer wraps pre-recorded Forms scenarios as Webservices
• Runs native business logic on the existing Forms server from ADF Mobile/ ADF /
APEX / Java
• When the system evolves, the service can be easily replaced, with newer
redeveloped service/technology.
• No Java applet – Runs Form without UI
Creates native ADF datacontrols that runs
Oracle Forms silently in the background
• Allows you to develop, test
and maintain one core system.
ADF Integration Features
![Page 31: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/31.jpg)
Exposing Forms to Mobile: The Process
Understand Business Process
Record & Deploy Scenario
Generate WS with wizard
Create ADF Mobile App
Run Your Mobile App!
![Page 32: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/32.jpg)
• Choose the Oracle Forms business process to record
• Select input / Output data to capture from Forms
• Identify expected results – popups, messages, errors
Understanding the Business Process
![Page 33: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/33.jpg)
• Record the Forms business process using the AuraPlayer Toolbar
• Automatically Generate Webservices using the AuraPlayer Service
Manager
Recording Demo
Webservice generation Demo
Deploy Oracle Forms as WS
![Page 34: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/34.jpg)
Create ADF DataControls for AuraPlayer Webservice URL-URL is simply copied from the AuraPlayer service manager
Create AMX pages and design new mobile UI
DEMO
Create ADF Mobile UI - Jdeveloper
![Page 35: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/35.jpg)
Define TaskFlow with Validations1. Define the navigation flow between the pages
2. Add validations (managed bean) that should occur upon
success or failure of events
![Page 36: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/36.jpg)
Demo Time
![Page 37: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/37.jpg)
Oracle
11g DB
Desktop
Mobile Devices
DMZ
External Network
Oracle
Forms
11g
Server
Secure Weblogic Server
Runs Webservice
FW
Service Manager
AuraPlayer – Solution Architecture
Native
ADF Mobile app
![Page 38: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/38.jpg)
AuraPlayer - Same Forms Business Logic Multiple UIs
![Page 39: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/39.jpg)
What You Need
• Development
– Oracle JDeveloper 11.1.2.3
– Oracle ADF Mobile Extension (help->check for updates)
– OraPlayer Recording Toolbar
• Deployment / testing / run-time
– iOS on Mac machine
• iOS SDK+Xcode 4.4.x - require iOS Developer Program Membership
– Free version (Xcode 4.5) is known to work but not certified
– Android
• Android SDK (API Level 9 Min, 16 recommended) + Android device
– OraPlayer Server to run Oracle Forms system
![Page 40: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/40.jpg)
More Information
• Mia Urman - [email protected]
• ADF Mobile on OTN
– Datasheets,Tutorial,Demos
• ADF Mobile Blog – http://blogs.oracle.com/mobile/
• Oracle Forms Community Blog – http://www.Oracleformsinfo.com
• Twitter.com/Jdeveloper, Facebook.com/Jdeveloper
• Twitter.com/miaurman, Twitter.com/auraplayer
• AuraPlayer – www.auraplayer.com or [email protected]
![Page 41: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/41.jpg)
My ADF Mobile Blog
• Tips and Tricks
• Common Bugs
• How to documents
• Presentations
www.ADFMobileInfo.com
![Page 42: Take Your Oracle Forms on the Road Using ADF Mobile · PDF fileMia Urman, AuraPlayer @miaurman miaurman@auraplayer.com Take Your Oracle Forms on the Road Using ADF Mobile](https://reader031.vdocument.in/reader031/viewer/2022022419/5a78c0fc7f8b9aa17b8c06df/html5/thumbnails/42.jpg)
Join the ADF Mobile Community
Twittertwitter.com/JDeveloper
Facebookfacebook.com/JDeveloper
Oracle’s WebLogic blogblogs.oracle.com/mobile
Oracle.com/mobile