mia urman, auraplayer @miaurman [email protected] mia urman, auraplayer @miaurman...

38
Mia Urman, AuraPlayer @miaurman [email protected] Take Your Oracle Forms on the Road Using ADF Mobile

Upload: kirk-purdue

Post on 11-Dec-2015

224 views

Category:

Documents


2 download

TRANSCRIPT

Mia Urman, AuraPlayer@miaurman

[email protected] 

Take Your Oracle Forms on the Road Using ADF Mobile

Who Am IMia 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 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

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

BlockMode

Character Mode

Client Server Web SOA ??

Evolving With Oracle Forms

BlockMode

Character Mode

Client Server Web SOA ??

Mobile

Evolving With Oracle Forms

BILLIONGLOBAL MOBILE 3G SUBSCRIBERS

6Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

What Device is Accessing Your Application?

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

Mobile Web App(Viewed in Safari)

3 Mobile Application TypesMobile Web

Apps 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)

Oracle ADF – Multi Channel Framework

OracleADF

Database

Web Services

CloudWeb

MobileOffice

Legacy Systems

Oracle Applications

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

ADF Mobile Overview

• Thin Native container on each platform• HTML5/JavaScript Frontend• Java Backend• Encrypted SQLite

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

Business Services• Code logic with Java• Lightweight JVM• Local Business Logic

– Java Classes– SQLite DB - Portable, lightweight relational database

• Easy access to Remote - Web service– SOAP– REST XML, REST JSON

ADF Mobile XML Components (AMX)

• XML format of JSF-like file built visually in JDeveloper • 50+ Components• Declarative data binding• Rendered into HTML5

on device at RT

Rich Component Set

Carousel T-Maps

ListView

Gauge

Charts

GeoMap

Basic Components Forms

DVT Charts, Gauges, Maps

Device Rich Features

Do you still carry around one of these?

Device Interaction / Gestures• Leverages Apache Cordova

• Drag and drop to use– Email– SMS– Contacts– GPS– Camera

• Configure components to react to the following gestures:– Swipe to the right, left, up,

down– Tap-and-hold

Data Caching• 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

Simple Offline

Secu

rity

Getting Started Oracle Forms Using ADF Mobile

Development TodayWeb Desktop Mobile Office

Database Web Services Legacy Systems Applications Unlimited

Forms Services Architecture

JRE

Applicationlogic layer

Data manager/PL/SQL engine

User interface layer

Forms Listener Servlet

Forms Servlet

Forms Runtime

Client tier Database tierMiddle tier:

WebLogic Managed Server

Dynamically

downloaded

File containingapplication code

Net Services

Forms Client

DB

Exposing Oracle Forms to ADF Web Desktop Mobile Office

Web Services

DO NOT run Forms on the mobile Run your BUSINESS on the mobile

See Demo

• 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

• Record the Forms business process using the AuraPlayer Toolbar

• Automatically Generate Webservices using the AuraPlayer Service Manager

Recording Demo

Webservice generation Demo

Record & Deploy Oracle Forms as WS

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

Create ADF DataControls for AuraPlayer Webservice URL-URL is simply copied from the AuraPlayer service managerCreate AMX pages and design new mobile UI DEMO

Create ADF Mobile UI - Jdeveloper

Oracle11g DB

Desktop

Mobile Devices

DMZExternal Network

Oracle Forms 11g

Server

Secure Weblogic ServerRuns Webservice

FW

Service Manager

AuraPlayer – Solution Architecture

NativeADF Mobile app

AuraPlayer - Same Forms Business Logic Multiple UIsADF

Mobile

What You Need• Development

– Oracle JDeveloper 11.1.2.3– Oracle ADF Mobile Extension (help->check for updates)– AuraPlayer 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– AuraPlayer Server to run the Oracle Forms system as a webservice

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]

My ADF Mobile Blog

• Tips and Tricks• Common Bugs• How to documents• Presentations

www.ADFMobileInfo.com

Join the ADF Mobile Community

Twittertwitter.com/JDeveloper

Facebookfacebook.com/JDeveloper

Oracle’s WebLogic blogblogs.oracle.com/mobile

Oracle.com/mobile