Use Eclipse to develop Java applications and deploy them to the SAP cloud platform SCP

1. First configure Eclipse according to this link .

Make sure that SAP Cloud Platform Tools for Java is installed correctly.

Use Eclipse to develop Java applications and deploy them to the SAP cloud platform SCP

Make sure the path to the neo SDK is configured correctly:

Use Eclipse to develop Java applications and deploy them to the SAP cloud platform SCP

I am using the following SDK: neo-java-web-sdk-3.51.14.zip

Use Eclipse to develop Java applications and deploy them to the SAP cloud platform SCP

Download my github project locally, import it into Eclipse, and make sure it can run successfully locally.

Use Eclipse to develop Java applications and deploy them to the SAP cloud platform SCP

Then create a new server instance, the type is SAP Cloud Platform, and the host name is hanatrial.ondemand.com:

Use Eclipse to develop Java applications and deploy them to the SAP cloud platform SCP

Fill in jerrydemo for the name of the application, select Java Web Tomcat 8 for Runtime, and enter the username and password of the SCP platform:

Use Eclipse to develop Java applications and deploy them to the SAP cloud platform SCP

After success, you can see the instance of the SAP cloud platform in Eclipse, and the jerrydemo application is in the Started state. Eclipse's built-in browser automatically opens the application.

Use Eclipse to develop Java applications and deploy them to the SAP cloud platform SCP

More details about the application can be found in the SCP's cockpit:

Use Eclipse to develop Java applications and deploy them to the SAP cloud platform SCP

Use Eclipse to develop Java applications and deploy them to the SAP cloud platform SCP

You can visit this link to test the effect of the application running on the SCP platform:

Use Eclipse to develop Java applications and deploy them to the SAP cloud platform SCP

To get more original technical articles from Jerry, please follow the public account "Wang Zixi" or scan the QR code below:

Use Eclipse to develop Java applications and deploy them to the SAP cloud platform SCP

Use Eclipse to develop Java applications and deploy them to the SAP cloud platform SCP

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324889717&siteId=291194637
Recommended