Hello Experts,
could you please recommend the best way to implement communication between Java and XSJS applications hosted on HCP?
Java is our middleware which obtains data from SAP thru Cloud Connector and exposes manipulated data by REST services. Our XSJS application needs to receive set of data from Java and perform some PAL functions. Then results needs to go back to the Java app.
Our 1st approach was to expose a REST operation in XSJS and consume it by the Java app, but we have huge problems with oAuth2 - it seems to be not really a standard oAuth on the HCP side as none of Java libraries which we use is able to receive and use the token.
What is your recommended way of communicating those two applications?
thanks in advance!