WeatherApp with MAF using MCS by Soham Dasgupta

Posted: January 27, 2016 in Cloud, JDeveloper & ADF, Mobile
Tags: , , , , , , ,

 

clip_image002Pre-requisites/Assumptions :

  1. MAF version : 2.1.3
  2. mafmcsutility.jar exists in the classpath of the application.
  3. Two REST API build and exposed from Oracle Mobile Cloud Service(MCS).
    • This application is available on GitHub and can be downloaded and run from your own machine.
    • This application uses 2 APIs created and exposed in MCS
      • /mobile/custom/WeatherAPI/getweather?country=<CCC>&city=<AAA>
      • /mobile/custom/WeatherAPI/getCities?country=<CCC>
  4. Part 1 : talks about creating the Mobile Backend on MCS : http://adfjava.blogspot.in/2015/10/weatherapp-with-maf-using-mcs-part-1.html

GitHub application can be found on :

https://github.com/sohamda/WeatherApp/

Following sections, I will talk a bit about

  • maf-application.xml
  • Datacontrol
  • Taskflow
  • Javascript to enable device back button

You can download the Github project and check the whole source code in JDeveloper 12.1.3
maf-application.xml:
I have defined the MCS connection details in this xml. 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 Forum Wiki

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s