REST/JSON has several advantages over SOAP/XML, so it is preferred for mobile web services. As REST/JSON is a smaller than SOAP/XML, you will be passing much less data over the network. For mobile devices, it is a very important point.
In this post we will create a CRUD of employees in Oracle MAF 2.0 using REST/JSON.
I will use this REST application (Expose ADF BC as RESTful Web Service).
Download the sample application: MAFRESTJSONApp.zip.
Initialize the REST Web Service.
Create a Mobile Application Framework Application, and name it as MAFRESTJSONApp.
In the maf-feature.xml file, create a new feature and call it as employees.
Click the Content tab, and then click green plus button near File field, to create the EmployeesTF Task Flow.
Create the REST Connection.
Go to Projects panel, right-click ViewController project and choose New > From Gallery.
In the New Gallery dialog, choose General > Connections > REST Connection.
If you click Test Connection button, you will receive an error.
It is intentional, because I want to use the same REST Connection for all operations. 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.