data caching strategies for oracle mobile application framework
DESCRIPTION
Fetching and forgetting data access is not optimal for mobile applications and Oracle Mobile Application Framework in particular. Data transfer is expensive in terms of performance and network bandwidth for mobile applications. We should optimize this and implement data caching for successful Oracle Mobile Application Framework applications. Learn how to use a local Oracle Mobile Application Framework SQLite database to cache data and minimize web service calls. This practical session explains a strategy for how and when to cache and refresh data and includes live demos for Oracle Mobile Application Framework data caching strategies.TRANSCRIPT
Data Caching Strategies for Oracle Mobile Application Framework
Andrejus BaranovskisTechnical Expert, Red Samurai ConsultingOracle ACE Director
• ADF, ADF Mobile, BPM, SOA, WebCenter
• Small Team of Experts, Focused on Technical Quality Results
• Customers – Global Corporations, Medium and Small Business
• Oracle Technical Blog – 8 Years (~700 posts)
• Oracle Fusion Middleware Innovation Award 2010
• SOA Partner Community Award for Outstanding Contribution Across the Globe 2010
Agenda
Data Caching Strategy
Data Caching Complexity
Oracle Mobile (MAF) Caching Options
SQL Lite Database in Oracle Mobile (MAF)
Web Service Integration in Oracle Mobile (MAF)
Implementation - Read-Only Data Caching
Implementation - Transactional Data Caching
Data Caching Strategy
MobileDevice
Server Side Application
Synch Required
Local DB
Load to WS
Load from WS
Check if synch is required
Fetch/save data
Data Caching Complexity
Relatively easy for read-only data
Complex for CRUD operations
Requires to keep track of user changes
Out of the box approach Quick start and easy to implement
Hard to customize
Custom approach More flexible
Stable foundation must be in place
Oracle Mobile (MAF) Caching Options
ADF BC to REST DC sync
Synch Config File Lazy Persistence
Refresh Policy
DB Storage Folder Path
Advanced caching with persistence extension
SQL Lite Database in Oracle Mobile (MAF)
Lightweight and portable – self contained simple file
Single read-write connection or multiple read-only connections
Supports foreign keys
Dynamically typed
No role-based or user-based authentication
MAF provides data encryption routines
Web Service Integration in Oracle Mobile (MAF)
Web Service Integration in Oracle Mobile (MAF)
Implementation - Read-Only Data Caching
Implementation - Transactional Data Caching
Implementation - Transactional Data Caching
Implementation - Transactional Data Caching
Implementation - Transactional Data Caching
Hands-On and References
• Transactional Data Caching for MAF Mobile -http://andrejusb.blogspot.com/2014/08/transactional-data-caching-for-adf.html
• MAF Mobile Doc –http://docs.oracle.com/middleware/mobile200/mobile/develop/index.html
Customer Base
• United States • Germany• South Africa • Greece • Switzerland • United Kingdom• Spain• Portugal • Australia• Jordan• Saudi Arabia
• Canada• Czech Republic• Norway• Croatia• Denmark
Focus
Oracle Fusion Architecture Development
Oracle Fusion Development and Implementation
Performance Tuning
Red Samurai Profile
Contacts
Andrejus Baranovskis Blog: http://andrejusb.blogpost.com
Web: http://redsamuraiconsulting.com
Email: [email protected]
Facebook: http://www.facebook.com/redsamoracle
Phone: +370-640-14737