Prepare the App

Page last updated:

Page last updated:

In this step, you will prepare a simple Java web application that can be deployed. Execute the following commands to clone the sample application:

$ git clone https://github.com/swisscom/cf-sample-app-java.git
$ cd cf-sample-app-java

You now have a functioning git repository that contains a simple Java Spark application as well as a build.gradle file, which is used by Gradle to manage dependencies and build the app.

Note: In case you are stuck during the tutorial, you can always check out the final-result branch of the sample app repo to see what your code should look like.

I cloned the App source
View the source for this page in GitHub