I had assignment to enable ADF BC REST for existing ADF application, which was developed with multiple ADF libraries. ADF BC REST was supposed to be enabled for one of the ADF libraries and then accessed through Master application. All ADF BC REST samples usually show how to enable REST inside Master application itself. I was curious if it will work to enable ADF BC REST and package it into ADF library, which is consumed from Master application. It worked and I would like to share sample app.
Sample app is based on two JDEV projects - library and master applications. Library application contains ADF BC REST implementation for Employees VO:
ADF Library is generated out of ViewController project, ADF BC REST is packaged through dependency:
Model (enabled with ADF BC support) project in Master application imports ADF library:
Run Master application by running REST project. There is improvement in JDEV 12.2.1.3 comparing to 12.2.1.2 - re-deployment works even if dependent ADF library was changed (this is very useful fix - saves a lot of time during development):
REST response is received:
Sample app is based on two JDEV projects - library and master applications. Library application contains ADF BC REST implementation for Employees VO:
ADF Library is generated out of ViewController project, ADF BC REST is packaged through dependency:
Model (enabled with ADF BC support) project in Master application imports ADF library:
Run Master application by running REST project. There is improvement in JDEV 12.2.1.3 comparing to 12.2.1.2 - re-deployment works even if dependent ADF library was changed (this is very useful fix - saves a lot of time during development):
REST response is received:
Download sample application - adfbcrest.zip.