See the ADF Mobile local database in action
By Frédéric Desbiens-Oracle on May 17, 2013
ADF Insider recordings are probable one of the best parts of my job. They are a lot of work, sure. But they are lots of fun to do and join so many members of the ADF Community...
My latest recording is on the ADF Mobile local database. In it, I explore the various aspect of the feature and devote a healthy chunk of time to the management of the database file. The slides contain a few selected code snippets, but I thought it would be better to build a sample application to fully illustrate the concepts. In particular, I wanted to show how it is possible to retrieve data from either a web service or the local database while binding the UI to a POJO Data Control.
My sample application is made is made of two distinct components:
- A simple SOAP web service (SDO view object) built on the top of the HR database schema.
- The ADF Mobile application itself, that demonstrates local database techniques and calls the web service when a network is available. Data is fetched from the local database when their is no connectivity.
I contributed the application to the ADF Enterprise Methodology Group samples repository. It is not listed on the web pages right now, but you can download it from the following location:
My recording is available on our YouTube channel here: http://www.youtube.com/watch?v=-XzE1n_j5Nc.