Example Tapestry application for deployment to Heroku
Java Shell Groovy
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead of hlship:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Tapestry Heroku App

This is a basic Tapestry 5.3 application, a modified version of the standard Tapestry Quickstart archetype, with minor changes to allow it to deploy onto Heroku. It is based on version 5.3-beta-30.

The main change is support for the Maven appassembler-maven-plugin plugin, which executes on Heroku after content is pushed; it obtains all dependencies and builds the shell script that launches the application.

Unlike a traditional servlet application, on Heroku your application is not packaged as a WAR and deployed into a container ... instead, a script is used to launch an embedded version of Jetty to execute your application. The Java class used to start Jetty is also part of this project. Heroku and the Maven plugin take care of all the details for you.

Deployment requires the Heroku Cedar stack. Please reference their getting started guide.