No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
gradle/wrapper
src/main
.gitignore
Dockerfile.liberty
Dockerfile.tomee
README.adoc
build.gradle
gradlew
gradlew.bat
heroku.yml
infinitest.filters
run_docker.sh
settings.gradle

README.adoc

Deploying a Java EE 8 Application on Heroku

This is a simple playground-project to experiment with Java EE 8 on Heroku. The application can be either deploy on TomEE or OpenLiberty. You can read the details on my blog.

Usage

Build & Deploy locally

$ ./run_docker.sh

Open http://localhost. If port 80 is not free on your system, you will have to change the port-mapping in run_docker.sh.

By default, `run_docker.sh deploy to TomEE. Switch the commented out line to deploy on OpenLiberty.

Deploy to Heroku

$ heroku create
$ heroku stack:set container
$ git push heroku master
$ heroku open

By default, the heroku.yml deploy to TomEE. Reference Docker.liberty to change the application-server to OpenLiberty.