Creating a Jax-Rs Application with ADF Model using Jdeveloper
While working on Oracle PaaS it is a common requirement to build REST services and our first choice is usually ADF. ADF is good for handling simple Requests and Response pattern and uses ADF model and transaction management to handle and fulfill requests. But there are times when we need to have a complex structure and a framework which can provide a stable and secure Model and also handle complex Request and Response structure. This is where we can use combination of Jax-Rs with ADF Model approach, Jax-Rs can handle any type of complex Request and Response type and ADF Model can handle DB transactions and security. Below are the steps for creating the same: Create ADF Rest Web Application Name : XxcomSampleJaxRsRestServiceApp Pkg : xxcom.test.jaxrs Model: XxcomSampleJaxRsRestServiceModel Assign Database to Model project so DB components can be created Create AM Name : XxcomSampleJaxRsRestServiceAM Pkg: xxcom.test.jaxrs.model.am Keep Default settings and Finish Set Connection...