Oracle REST service examples with Oracle Jet
Java -jar ords.war standalone --port 7081 --apex-images --doc-root Connect to Apex Admin console to create a workspace
I have created a workspace name 'userbase' Now,Connect to ORDS console [http://HOST:7081/ords] with new workspace and in SQL workshop tab click Restful Services to create rest services
Create a rest web service – example EmployeeData
Test the REST web service Call the rest web service – example [http://<>:7081/ords/userbase/hr/employees/100] Where 100 is specific employee ID Call the rest web service – example [http://<>:7081/ords/userbase/hr/employees/0] Where 0 for all employees Configure Oracle JET To use this newly created REST in Oracle JET use the sample codes in view and viewModels
VIEWMODEL – JS CODE
VIEW – HTML CODE Now you are ready to view the data in Oracle Jet , invoke the view page and you will see following data '