Skip to content
No description, website, or topics provided.
Branch: stackato-3.6
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
.springBeans
README.md
build.xml
manifest.yml
maven-build.properties
maven-build.xml
pom.xml

README.md

Spring Sample

This is a Java sample using the Spring framework and a MySQL service.

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 hello-java-1.0.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 hello-java-1.0.war file within the 'target' directory.

Deploying the Application

To run the application, make sure you have the HPE Helion 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 Web Application".

Then go on your application url.

That's all. Have fun!

You can’t perform that action at this time.