Skip to content
a fork of a wildfly example ready to be deployed to heroku
Branch: master
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/main
.gitignore
README.md
pom.xml

README.md

greeter

This is a fork of the wildfly greeter example which demonstrates CDI, JPA, JTA, EJB, and JSF.

In addition it contains functionality to make use of a PostGresql Database instead of a in-memory H2 and make it deployable to heroku using Heroku Buildpack.

Usage

Build locally

$ git clone https://github.com/mwiede/greeter.git
$ cd greeter
$ mvn clean install

Setup an heroku app to use wildfly and postgresql database driver.

$ heroku create
$ heroku addons:create heroku-postgresql:hobby-dev
$ heroku buildpacks:clear
$ heroku buildpacks:add heroku/java
$ heroku buildpacks:add https://github.com/mwiede/heroku-buildpack-wildfly
$ heroku buildpacks:add https://github.com/mwiede/heroku-buildpack-wildfly-postgresql

Deploy

$ git push heroku master
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.