Skip to Content

configuring java app in cloud portal ?

Hi Team,

I have deployed one java application in cloud .

I want to configure the JAVA application in the portal the same way we configure HTML5 application in fiori based launchpad in HCP .

is it possible in Portal Service ?


if yes can you please guide any tutorial or steps to achieve the same .

regards

Dibyajyoti Nanda

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 20, 2016 at 11:23 AM

    Hi Dibyajyoti,

    It is possible to use java application in a cloud portal site if the client side of the app is SAPUI5 component. This should help SAP HANA Cloud Platform, Portal Service

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Tanushsingh,

      Thanks for your response and sorry for delay reply .

      I have gone through the url and designed one new app in html5 which has below two files only .

      neo-app.json file and cp.app.descriptor.json.

      but the application is not referring to the java app from tiles .

      the url generated dynamically is

      https://jobrequisition-pxxxxxxtrial.dispatcher.hanatrial.ondemand.com/

      its throwing 404 not found error .


      it should redirect to below url


      https://jobrequisitionpxxxxxxtrial.hanatrial.ondemand.com/com.kpit.hana.cloud.jobrequisition/

      can you please check below files and let me know if i am missing something.

      neo-app.json

      {

      "welcomeFile": "index.html",

      "routes": [

      {

      "path": "/resources",

      "target": {

      "type": "service",

      "name": "sapui5",

      "entryPath": "/resources"

      },

      "description": "SAPUI5 Resources"

      },

      {

      "path": "/test-resources",

      "target": {

      "type": "service",

      "name": "sapui5",

      "entryPath": "/test-resources"

      },

      "description": "SAPUI5 Test Resources"

      },

      {

      "path": "/com.sap.hana.cloud.jobrequisition",

      "target": {

      "type": "destination",

      "name": "jobrequisition",

      "entryPath": "/"

      }

      }

      ],

      "cacheControl": [

      {

      "directive": "private",

      "maxAge": 0,

      "path": "**.html"

      },

      {

      "directive": "private",

      "maxAge": 0,

      "path": "sap-ui-cachebuster-info.json"

      },

      {

      "directive": "public",

      "maxAge": 31536000

      }

      ]

      }

      cp.app.descriptor.json


      [

      {

      "id": "hcp://javaapplication/com.sap.hana.cloud.jobrequisition/manifest.json",

      "_entityType": "PORTAL_SITE_V2_TEMPLATE_APP_CONFIG",

      "path": "com.sap.hana.cloud.jobrequisition",

      "name": "jobrequisitionWidget",

      "thumbnail": "",

      "preview": ""

      }

      ]

      jobrequisition destination

      Name=jobrequisition

      URL=https\://jobrequisitionpXXXXXXtrial.hanatrial.ondemand.com/com.sap.hana.cloud.jobrequisition/Component.js

      ProxyType=Internet

      Type=HTTP

      CloudConnectorVersion=2

      Authentication=NoAuthentication

      Description=jobrequisition


      please let me know in case you need any more information ?

      Regards

      Dibyajyoti Nanda

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.