Deploy

Create a Java Web Application using Embedded Tomcat

This tutorial will show you how to create a simple Java web application using embedded Tomcat.

Prerequisites

  • 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.

Skip The Application Creation

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

Follow the Guide

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.