cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Cap for Java

771

Hi Team,

we want to make use of Cap for Java framework to deploy HANA content. However, the tutorial mentioned in the documentation: https://github.com/SAP-samples/cloud-cap-samples-java#prerequisites, follows the approach of having a separate NodeJS module inside the MTA Java-based project.

We want to know if we can have everything within the same application module without having to add a NodeJs module inside. We've heard about sideCar approach, but we understood that it's only for Multitenant apps, and our app only needs a shared and a single HANA container.

Could you please advise us? Do we really have to have a separate nodeJs module within our Java application for doing the HANA content deployment?

Kind regards,

Mustafa Sasa

SAP IoT

View Entire Topic
marcbecker
Product and Topic Expert
Product and Topic Expert

If you are using HANA HDI you need the Node-based HDI deployer module to deploy the content to the HDI container. There is no implementation of these features available directly in Java.

If you are using plain HANA schemas you can of course use Java-native schema lifecycle tools such as Liquibase or Flyway. However that of course comes without all the benefits of HDI and you are basically "on your own" in the area of schema evolution.