Alex
Alex

Reputation: 199

Creating HTML5 applications in SAP cloud platform

I am new to SAP CP. I have built a webpage which has html, css and js files. I want to deploy the same in SAP CP and then do the backend (js) and bind to the hana database.

A few doubts regarding the same:

Also please note that I have not selected any template from sapui5 its an custom project the whole idea is to run a htnl5 web app in sap CP.

Any guidance will be great.

Upvotes: 0

Views: 685

Answers (1)

Abdel Dadouche
Abdel Dadouche

Reputation: 217

There is no need to use a war and deploy it as a Java app here as this is pure HTML5 app.

With HTML5, you would usually consume database content using REST API (OData for example) that you have exposed and not via direct SQL like you would do in Java with JDBC.

Therefore you won't bind a database to a HTML5 app, but a REST API endpoint that will provide the database service you expect to read/write etc from.

Upvotes: 1

Related Questions