Transcription
Take Your Oracle Forms on the RoadUsing ADF MobileMia Urman, AuraPlayer@miaurmanmiaurman@auraplayer.com
Mia UrmanCEO, AuraPlayerOracle 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 ofForms and ADF. Founder of AuraPlayer - Oracle Forms modernization solutions to unlockForms systems and fast-track to a Mobile / SOA architecture / Cloud ODTUG board member , international speaker at Kscope, OOW, UKOUG
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
GLOBAL MOBILE3G SUBSCRIBERS5Copyright 2012, Oracle and/or its affiliates. All rights reserved.
What Device is Accessing YourApplication?
Evolving With Oracle FormsClientServer
Evolving With Oracle FormsMobileClientServer
Understanding Mobile Requirements Application Functionality - No mouse, Touch gesturesDevice Type – Phone / TabletScreen sizeNetwork type – Security , SpeedDevice features integrationTypes of Users – Occasional, Internal/externalType of Applications – Browser Based / Hybrid
3 Mobile Application Types Mobile WebApps Native MobileApps Hybrid MobileApps Online applicationaccessed throughmobile devicebrowser Application installed& runs on device Application installed& runs on device withHTML5 UI Browser governsaccess to localstorage anddevice services(camera, GPS,etc.) Highly reusablecode Highly portable Optimized forspecific mobileplatform and formfactor Optimized for specificmobile platform &form factor Direct access tolocal storage anddevice services Direct access to localstorage and deviceservices Code reuse can becomplex Code reuse simplified Portability requireswork Portability simplifiedMobile Web AppNative App(Viewed in Safari)(iOS)
Oracle ADF – Multi Channel FrameworkDatabaseLegacy SystemsOracleADFWebWeb ServicesOracleApplicationsCloudOfficeMobile
Oracle ADF MobileUnique Hybrid Mobile FrameworkOracleADF MobileJavaHTML5Built On StandardsUse Existing Skills Set
ADF Mobile Overview Thin Native container on each platform– Allows for device interaction– Push notification support HTML5/JavaScript Frontend Java Backend Encrypted SQLite
Integrated DevelopmentEnvironmentFocused on Productivity Oracle JDeveloper Extension Declarative and visual development Integration with Apple Xcode andAndroid SDK Component based UI constructionTask FlowsData ControlsPackagingDeploymentDebugging
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
UI Content options Device native user experience Local AMX File– JSF-like file built visually in JDeveloper– Generated into HTML/JSon device at RT Remote URL– Any server-side HTML Local HTML File– Coded with any third-party HTML5frameworks
ADF Mobile XML Components (AMX) XML format built visually inJDeveloper 50 Components Declarative data binding Rendered into HTML5on device at RT
Basic orms
DVT Charts, Gauges, Maps
Device Rich Features
Do you still carry aroundone of these?
Device Features Interaction Leverages Apache Cordova Drag and drop to use–––––EmailSMSContactsGPSCamera Or access programmatically
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 followingoperations:––––Set Property Listener (e.g. setting Scope Variables)Action Listener (e.g. invoking Backing Beans)Show Popup Behavior & Close Popup BehaviorNavigating between Panel Items
Mobile devices can lose/turn off connectivityOffline access to data is a common requirementBut it will increase the complexity of your application If you cache data locally you must consider––––––When to cache the dataHow much data to cacheWhen to synchronize updatesRecording the order of updatesHow to deal with synchronization conflictsSecurity of the data if the device is lostSecurityData Caching Challenges
Getting StartedOracle Forms Using ADF Mobile
Exposing Oracle Forms to ADFWebDesktopDatabaseWeb ServicesMobileLegacy SystemsOfficeApplications Unlimited
Exposing Oracle Forms to ADFWebDesktopWeb ServicesMobileOffice
See Demo
ADF Integration Features 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 newerredeveloped service/technology. No Java applet – Runs Form without UICreates native ADF datacontrols that runsOracle Forms silently in the background Allows you to develop, testand maintain one core system.
Exposing Forms to Mobile: The Process Understand Business Process Record & Deploy Scenario Generate WS with wizard Create ADF Mobile App Run Your Mobile App!
Understanding the Business Process Choose the Oracle Forms business process to record Select input / Output data to capture from Forms Identify expected results – popups, messages, errors
Deploy Oracle Forms as WS Record the Forms business process using the AuraPlayer Toolbar Automatically Generate Webservices using the AuraPlayer ServiceManagerWebservice generation DemoRecording Demo
Create ADF Mobile UI - JdeveloperCreate ADF DataControls for AuraPlayer Webservice URL-URL is simply copied from the AuraPlayer service managerCreate AMX pages and design new mobile UIDEMO
Define TaskFlow with Validations1. Define the navigation flow between the pages2. Add validations (managed bean) that should occur uponsuccess or failure of events
Demo Time
AuraPlayer – Solution ArchitectureNativeADF Mobile appDMZExternal NetworkService ManagerOracle11g DBFWMobile DevicesOracleForms11gServerSecure Weblogic ServerRuns WebserviceDesktop
AuraPlayer - Same Forms Business Logic Multiple UIs
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
More Information Mia Urman - miaurman@auraplayer.comADF Mobile on OTN– Datasheets,Tutorial,Demos ADF Mobile Blog – http://blogs.oracle.com/mobile/Oracle Forms Community Blog – er, Facebook.com/JdeveloperTwitter.com/miaurman, Twitter.com/auraplayerAuraPlayer – www.auraplayer.com or info@auraplayer.com
My ADF Mobile Blogwww.ADFMobileInfo.com Tips and TricksCommon BugsHow to documentsPresentations
Join the ADF Mobile loperFacebookfacebook.com/JDeveloperOracle’s WebLogic blogblogs.oracle.com/mobile
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-trac