Going Mobile with ADF – Implementing Data Caching and Syncing for Working Offline Part II by Steven Davelaar

Introduction

When building ADF Mobile applications that go beyond displaying read-only data, you quickly find yourself programming Java code. If you want to use the on-device SQLite database to store data locally, for example to cache data or to enable working in off-line mode, the amount of code you have to write quickly increases, and while programming you probably realize that you are repeating the same coding patterns for each web service that you want to call to read or write data. This article introduces the second release a the ADF Mobile Persistence extension created by the A-team which avoids most of these coding patterns by using highly generic Java code driven by metadata. In addition, the few Java classes that are still needed are auto-generated for you, and a default mobile user interface can also be generated. This extension takes ADF Mobile development to the next level, effectively allowing you to create within a few minutes a fully functional ADF Mobile application that reads and writes data using a remote web service. In addition all data is stored locally on the device in the SQLite database, allowing you to use the application in offline mode. Basic data synchronization functionality is also provided to process transactions made in offline mode. This article explains how to use the three main wizards from this extension that do all the “magic”. At the bottom of this article, you can find a link to download the extension and links to some videos that illustrate the development process.

Main Article
In the first part of this article, Going Mobile with ADF - Implementing Data Caching and Syncing for Working Offline Part I, written in October 2013, we described the architecture and programming effort required to implement data caching and data syncing functionality to your mobile application.

We also introduced the first release of the A-Team ADF Mobile Persistence extension in this article. Since then we have enhanced this extension significantly by adding four powerful design-time wizards. After installing the new version of this extension, you will notice a new category “ADF Mobile” in the New gallery under Business Tier. Read the complete article here.

WebLogic Partner Community

For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter LinkedIn Mix Forum Wiki

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
Search

Archives
« May 2015
SunMonTueWedThuFriSat
     
30
31
      
Today