Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 src
Octocat-spinner-32 Procfile
Octocat-spinner-32 README.md
Octocat-spinner-32 build.xml
Octocat-spinner-32 maven-build.properties
Octocat-spinner-32 maven-build.xml
Octocat-spinner-32 pom.xml
Octocat-spinner-32 stackato.yml
README.md

Number guess application

This simple sample aims to demonstrate the support of JEE6 applications (JSF, Annotation, Injection etc.).

Building the Application

It is possible to build the application either with Ant or Maven.

Ant

Make sure your have Ant installed. Then, cd into the root directory and execute:

ant clean package

That will create the numguess.war file within the 'target' directory.

Maven

Make sure you have Maven installed. Then, cd into the root directory and execute:

mvn clean package

That will create the numguess.war file within the 'target' directory.

Running the Application

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 "Java EE Application".

Then go on your application url.

That's all. Have fun!

Something went wrong with that request. Please try again.