Enterprise Integration Zone is brought to you in partnership with:

Shay is a DZone MVB and is not an employee of DZone and has posted 24 posts at DZone. View Full User Profile

Accessing Remote Databases from Oracle MAF with the TopLink/EclipseLink REST CRUD Services

  • submit to reddit

In the last post I showed you how simple it is to expose CRUD REST operations on your database with TopLink/EclipseLink.

The next logical step is to then consume those with Oracle MAF to build a mobile application.

This is quite simple with the REST data control. All you need to do is just map the right URLs and create the operation.

Here is a quick demo:

One trick I show in the demo is how to delay the call to a REST service until the user actually provides a value to a parameter. A common issue people have when they have the parameter form and the results on the same page. The solution is easy using the refresh condition of the executables of the page and using the "ne null" check on the parameter value. 

Published at DZone with permission of Shay Shmeltzer, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)


Shay Shmeltzer replied on Thu, 2014/08/07 - 10:54am

For reference - the first part of this video tutorial (which is referred to as "in the last post") can be seen here:

REST enable your Database for CRUD with TopLink/EclipseLink and JDeveloper

It shows exposing REST services for CRUD operations on the database.

Zhan Ye replied on Mon, 2014/08/11 - 4:54am

 Thanks for your update,i will pay close attention to your post----http://www.saleshoesbags.com

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.