This is a Java sample using the Spring framework and an external Oracle service.
It is possible to build the application either with Ant or Maven.
Make sure your have Ant installed. Then, cd into the root directory and execute:
ant clean package
That will create the hello-java-1.0.war file within the 'target' directory.
Make sure you have Maven installed. Then, cd into the root directory and execute:
mvn clean package
This will create the *hello-spring-oracle.war file within the 'target' directory.
To run the application, make sure you have the Stackato client installed and that you are logged in successfully for your desired target environment (e.g. http://api.stackato.local).
Then execute:
stackato push -n
Notice that it detected the app type as "Spring".
Then go on your application url.
That's all. Have fun!