Indicator for Background REST Service Access with A-Team Mobile Persistence Accelerator by Andrejus Baranovskis
By Juergenkress-Oracle on May 27, 2015
You should check my previous post about Background REST Service Access with A-Team Mobile Persistence Accelerator (AMPA).
There I describe how to optimise MAF performance for REST service
calls, allow user to continue working with the mobile application,
without locking the screen until Web Service response arrives. Steven
Davelaar have documented how it works, you can read it in his blog - Calling Web Services in Background Using MAF 2.1.
I have updated sample application from previous post, to include indicator for AMPA background service call status tracking. Updated sample application - MobileServiceBusApp_v8.zip.
AMPA provides application scope variable, which acts as a flag and indicates when background service call is executed. Based on this flag, we could conditionally display animated GIF image, this will help user to understand if background service call still runs:
When user is
searching and request is being processed in background, he will see
rotating status indicator in the top right corner: Read the complete article here.
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.