In this post, I will demonstrate building a rest web service that supplies a JSON response using Netbeans and Glassfish. I will also demonstrate an ADF project consuming the JSON result in the AM, constructing a transient VO and displaying the results on the page.
The Netbeans project can be downloaded from https://docs.google.com/open?id=0B9yySVFbRABBVndsRDZMWjlUVm04bWZ1Ull4Rl9Kdw. The Jdeveloper project for the JSON consumption can be downloaded from https://docs.google.com/open?id=0B9yySVFbRABBbTU4TnRPc1lRRHEwamp5Zl9UdV9VZw.
To build the Rest web service using Netbeans, just create a new project and select the Enterprise Application option:
↧