This is a Java sample using the Spring framework.
To build the application, make sure you have Maven installed. Then, cd into the root directory and execute:
mvn clean package
That will create the jpetstore.war file in the 'target' directory.
To deploy to stackato:
mvn clean package stackato push -n
You can view the application at the 'Application Deployed URL'.