Showing posts with label MAF. Show all posts
Showing posts with label MAF. Show all posts

Thursday, March 17, 2016

JDev/ADF sample - Accessing Oracle Mobile Cloud Service (MCS) REST from Postman

    Download - Postman_MCS_1.json

Monday, May 11, 2015

JDev/ADF sample - WebSocket Accelerated Live Data Synchronization for MAF

    Download - AltaMobileApp_v2.zip

Thursday, May 7, 2015

JDev/ADF sample - Oracle MAF and WebSockets Integration - Live Twitter Stream

  • Oracle MAF and WebSockets Integration - Live Twitter Stream. Oracle MAF and WebSockets - I will describe how it works together. WebSockets is a protocol providing full-duplex communication channel over a TCP connection. This channel is interactive (communication is both ways) and we can send messages from the server to the client (MAF application running on the device). There is no need to use push notifications, WebSockets provide JSON support and allow to send complex payload data. In a way it competes with REST, however REST is different with request is being initiated by the client. WebSockets data is received automatically - there is no need to trigger any event by the client.
    Download - AltaMobileApp_v1.zip

Friday, April 3, 2015

JDev/ADF sample - Indicator for Background REST Service Access with A-Team Mobile Persistence Accelerator

    Download - MobileServiceBusApp_v8.zip

Sunday, March 22, 2015

JDev/ADF sample - Background REST Service Access with A-Team Mobile Persistence Accelerator

    Download - MobileServiceBusApp_v7.zip

Monday, March 16, 2015

JDev/ADF sample - REST Service Access with A-Team Mobile Persistence Accelerator

  • REST Service Access with A-Team Mobile Persistence Accelerator. A-Team Mobile Persistence Accelerator (AMPA) works on top of Oracle Mobile Application Framework (MAF) and provides tools to simplify consumption of REST services. It enables transparent persistent layer usage on the device with the option of synchronising offline data with the server side. In this post, I will be testing AMPA in the context of the use case implemented previously - MAF 2.1 Alta Mobile UI and Oracle Mobile Suite. Working MAF application, where REST service calls are coded by hand, will be changed to fetch REST service data through AMPA - reusing existing Data Control. This is unusual approach, most of the tutorials related to AMPA describe end-to-end scenario, where Data Control is generated on top of AMPA service class and UI is generated with AMPA wizard. Mobile UI in most of the cases will be custom made and we rarely generating it. This is why it is important to explain, how to use AMPA with custom UI and Data Control.
    Download - MobileServiceBusApp_v6.zip

Sunday, August 24, 2014

JDev/ADF sample - Transactional Data Caching for ADF Mobile MAF Application

    Download - MAFMobileLocalApp_v4.zip

Tuesday, August 12, 2014

JDev/ADF sample - Data Caching Implementation for ADF Mobile MAF Application

  • Data Caching Implementation for ADF Mobile MAF Application. If you are building mobile application with web service call integration, you must take into account data caching strategy. Without data caching, mobile application will try to establish too many connections with the server - this will use a lot of bandwidth and slow down mobile application performance. This post will be focused around the scenario of implementing simple data caching strategy. In my next post, I'm planning to review MAF persistence framework from Steven Davelaar - this framework is powerful and flexible. Simple data caching strategy makes sense for smaller use cases, when we don't need to use additional framework for persistence.
    Download - MAFMobileLocalApp_v3.zip

Friday, July 25, 2014

JDev/ADF sample - MDS Support for Mobile Application Framework (MAF) in JDeveloper 12c (12.1.3)

    Download - MAFMobileLocalApp_v2.zip

Thursday, July 17, 2014

JDev/ADF sample - ADF Mobile 12c (MAF) Support for Master-Detail Data Control

  • ADF Mobile 12c (MAF) Support for Master-Detail Data Control. ADF 12c is shipped with renamed mobile platform framework - Oracle Mobile Application Framework (MAF). Previously this was named ADF Mobile. 12c MAF is based on ADF Mobile and provides additional functionality and improvements. Everyone familiar with ADF Mobile 11g, should get up to speed with 12c without issues. I would like to highlight one interesting improvement implemented in 12c MAF - out of the box support for Master-Detail relationship. In previous 11g release, master record key was not preserved across different pages - developer was forced to store selected key in memory, to call execute method through invoke action in the second page and finally to reset a key. There was an alternative solution, described by Steven Davelaar - ADF Mobile – Preserving the Current Row Across Pages. Approach described in Steven's blog seems to be integrated into 12c MAF, there is no need to manage selected Master key manually, framework does this for you.
    Download - MAFMobileLocalApp.zip