cancel
Showing results for 
Search instead for 
Did you mean: 

WebIDE with an Java Application

AntonR
Advisor
Advisor
0 Kudos

Hi there,

we are developing an SAP UI 5 Application which is deployed within an JAVA server application in a war file. Is there any possibility to setup the WebIde for the frontend development part?

Thanks,

Anton

View Entire Topic
former_member725
Participant
0 Kudos

HI Anton, Have you found an answer to your question? I am wondering the same thing. I know you were able to deploy to a WAR file from the older Eclipse tool..

AntonR
Advisor
Advisor
0 Kudos

Hi Craig,

I found a solution/answer, so yes it is possible.

You can run the server application on your localhost and develop the ui in the WebIDE.

You need to setup the Cloud Connector and mainain a destination in your SAP HANA Cloud Platform Cockpit and then if everything is connected you can use it in your HTML5 application. Therefore you need to add in your neo-app.json something like this:

    {

      "path": "/meins",

      "target": {

        "type": "destination",

        "name": "<destination_name",

        "entryPath": "<entryPath>"

      },

      "description": "SAPUI5 Resources"

    }

And that actually it.

You can call it e.g.:

                    $.ajax({

                        url  : "meins/...",

                        type : "GET",

                        contentType: "application/json; charset=utf-8"

                    }).done(function(response) {

                        alert("yeah");

                    }).fail(function(result) {

                        alert("nope");

                    });

There are good youtube videos how to setup the cloud connector. This is why i skipped it here.

Best,

Anton