Extend Oracle JET with Table on REST API and Deploy to Node.js in Application Container Cloud by Lucas Jellema
By Juergenkress-Oracle on Jun 30, 2016
In this article, I will describe how I took the Oracle JET Sample application that I deployed to Node.js – locally and in the Oracle Application Container Cloud-and extended it with a new tab containing a table component that is data bound to a collection populated from a REST API that also runs on Application Container Cloud and accesses a DBaaS instance.
The initial application was described in this previous article (Deploying an Oracle JET application to Application Container Cloud and running on Node.js); in that article I took the Oracle JET Starter Template Quickstart sample application, configured it to run on Node.js (locally) and then configured it for deployment on Application Container Cloud and subsequently ran it on the cloud. In this article, I will leverage the REST API exposed from a Node.js application Data API discussed in an earlier article: REST API on Node.js and Express for data retrieved from Oracle Database with node-oracledb Database Driver running on Application Container Cloud. This Data API connects to a DBaaS instance and retries data from the DEPARTMENTS table in the HR schema.
the sample application with an additional tab that can be selected and
shown, containing a table component with data binding to a newly defined
viewmodel did not prove trivial at first. This was my first encounter
with some of the frameworks included in JET – Require and especially
Knock Out – and I ran into many small typos and fairly large
misunderstandings. Now I believe I nailed it – and this article is the
proof. Read the complete article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.