This tutorial will show you how to create a simple Java web application using embedded Tomcat.
- Basic Java knowledge, including an installed version of the JVM and Maven.
- Basic Git knowledge, including an installed version of Git.
- A Java web application. If you don't have one follow the first step to create an example. Otherwise skip that step.
If you want to skip the creation steps you can clone the finished sample and then skip to the 'Deploy Your Application to Heroku' section:
$ git clone git@github.com:heroku/devcenter-embedded-tomcat.git
If you would like to create the application yourself, then follow the Dev Center guide on how to Create a Java Web Application using Embedded Tomcat.