Skip to Content

End-to-End Weather App Scenario Part 10

By akula86

Deploying your Java app to SAP HANA Cloud Platform

You will learn

In the final part of this tutorial series you will learn how to deploy your Java application to SAP HANA Cloud Platform.


  1. Create a new server by opening up the corresponding context menu on the Servers view and selecting New > Server. Enter the following and click Next.

    • Server type: SAP HANA Cloud Platform
    • Landscape host:
    • Server name: HCP on hanatrial
    Creating the SAP HANA Cloud Platform server in your project
  2. Configure the new server with the following and click Next.

    • Application name: weatherapp
    • Runtime: Java Web
    • Account name: <userid>trial
    • User name: <userid>
    • Password: <SCN password>
    Configuring the HCP server
  3. Select the weatherapp on the list on the left and add it to the (remote) server by clicking on the Add button. Then, click on Finish.

  4. Now create an HCP Destination for the remote server via the HCP cockpit (similar to what was done in section 8 for our local server). Enter the following:

    • Name: openweathermap
    • Type: HTTP
    • Description: openweathermap service
    • URL:
    • Proxy Type: Internet
    • Authentication: NoAuthentication
    Creating a new destination in HCP for the external weather service
  5. Finally publish the application to the (remote) server and run it. You app should look like this:

    Screenshot of the Java app running on HCP

Next Steps

Updated 12/08/2016

Time to Complete

10 min



Next Steps

Back to top