Monday 31 October 2016

Create a restful web service directly from application module in ADF 12.2.1

This blog we will see, how to create a restful web service directly from application module.

NOTE: - This features newly introduced in ADF 12.2.1.

Need to follow the below steps to create a REST web service from application module.

1. Created a application module using employee table (Connected HR schema).

2. Now open the application module and click on web service tab, then click on green plus icon, but you will get the below error like below.

3. As we have not define the release version and name in adf-config.xml to create REST Web Service, so we are getting this above error. Now let’s update adf-config.xml.

4. Now go to application module --> web service tab --> REST tab. Click on the ADD green icon. Provide the resource name and release version.

5. On click OK, jdeveloper will create a separate project for REST web services.

6. Now run the RESTWebservice application.

7. Now run the application and the URL will generate in integrated weblogic server. Click on the same URL, it will open the HTTP Analyzer.

8. Now click on “Send Request”. All the employee information will display.

9. We can pass the employee ID as a parameter in URL and display the whole information on the employee ID.

You can download the code: Download

Thanks..

Oracle JDeveloper and Oracle ADF 12c : New Features

The below is the reference location for new features of Oracle Jdeveloper and Oracle ADF

Oracle JDeveloper and Oracle ADF 12c (12.1.2.0.0): New Features
http://www.oracle.com/technetwork/developer-tools/jdev/documentation/1212-nf-1964675.html

Oracle JDeveloper and Oracle ADF 12c (12.1.3.0.0): New Features
http://www.oracle.com/technetwork/developer-tools/jdev/documentation/1213-newfeatures-2714203.html

Oracle JDeveloper and Oracle ADF 12c (12.2.1.1.0): New Features
http://www.oracle.com/technetwork/developer-tools/jdev/documentation/1213nf-2222743.html

Thanks...