This document discusses data caching strategies for Oracle Mobile Application Framework (MAF). It outlines different caching options in MAF including using a local SQLite database and integrating with web services. It also provides examples of implementing read-only and transactional data caching in MAF applications. The document was presented by Andrejus Baranovskis from Red Samurai Consulting who is an Oracle ACE Director and technical expert focused on Oracle Fusion Middleware technologies.
Apidays New York 2024 - The value of a flexible API Management solution for O...
Data Caching Strategies for Oracle Mobile Application Framework
1. Data Caching Strategies
for Oracle Mobile
Application Framework
Andrejus Baranovskis
Technical Expert, Red Samurai Consulting
Oracle ACE Director
2. • 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
3. 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
4. Data Caching Strategy
Mobile
Device
Server Side
Application
Load to WS
Synch
Required
Local
DB
Load from WS
Check if synch is required
Fetch/save data
5. 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
6. 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
7. 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
15. 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/mo
bile200/mobile/develop/index.html
16. Customer Base
• United States
• Germany
• South Africa
• Greece
• Switzerland
Red Samurai Profile
• 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