Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Data Caching Strategies for Oracle Mobile Application Framework


Published on

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.

Published in: Technology
  • Pervasync just released a new version (7.0.0) of its sync framework that supports synchronization of Oracle MAF SQLite databases with central Oracle, MySQL, SQL Server and PostgreSQL databases. For more info see
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Data Caching Strategies for Oracle Mobile Application Framework

  1. 1. Data Caching Strategies for Oracle Mobile Application Framework Andrejus Baranovskis Technical Expert, Red Samurai Consulting Oracle ACE Director
  2. 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. 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. 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. 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. 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. 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
  8. 8. Web Service Integration in Oracle Mobile (MAF)
  9. 9. Web Service Integration in Oracle Mobile (MAF)
  10. 10. Implementation - Read-Only Data Caching
  11. 11. Implementation - Transactional Data Caching
  12. 12. Implementation - Transactional Data Caching
  13. 13. Implementation - Transactional Data Caching
  14. 14. Implementation - Transactional Data Caching
  15. 15. Hands-On and References • Transactional Data Caching for MAF Mobile - /transactional-data-caching-for-adf.html • MAF Mobile Doc – bile200/mobile/develop/index.html
  16. 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
  17. 17. Contacts Andrejus Baranovskis  Blog:  Web:  Email:  Facebook:  Phone: +370-640-14737