Learn More about Heroku for Java

Last Updated: 23 December 2014


Table of Contents

With Heroku you can instantly deploy and scale any of your Java application on the cloud. This developer guide will walk you through a series of articles to help you understand how to build and deploy Java applications on Heroku.

If you would like to understand how the Heroku Platform works, read the Heroku Platform Architecture. You can also read the Heroku Java Support and Heroku for Java EE developers articles for information about Java language support and some key design principles to keeping mind when building and deploying Java applications on Heroku.

Deploy a Java web application with an embedded container

You can use any embedded container that you like in your application on Heroku. Learn how to use Maven as the build tool and Jetty as the embedded container.

Read More…

Other embedded containers

You can also learn how to use Tomcat 7 or Jetty-Runner.

Run Java worker processes on Heroku

An application on Heroku is composed of one or more processes. This can include a web process and one or more non-web processes to perform background or admin tasks. Learn how to build and deploy worker and one-off admin applications in Java.

Read More…

Connecting to relational databases on Heroku with Java

Applications on Heroku can use a variety of relational database services including the Postgres database offered by Heroku and MySQL offered by AWS. You can connect your Java application to relational databases using plain JDBC or within a Spring application or within a Play! application.

Read More…

Deploy a Spring and Hibernate app

If you are a Spring developer you can get started building and deploying Spring MVC applications.

Read More…

Working with Heroku addons

Heroku provides a rich selection of addons. You can install these to provide additional application services like Performance Management, Log monitoring, NoSQL databases etc. Below are a few articles to get you started on some of these addons:

Run Play! Framework apps on Heroku

Heroku has direct support for running Java and Scala applications built with the Play Framework. Learn how to build a simple Play web application and deploy it to Heroku.

Read More…

Connect a Play! app to a Heroku Postgres database

Using environment variables in your Play! config makes it easy to connect a Play! app to the Postgres database that is automatically created for each application created on Heroku.

Read More…

Run Grails framework apps on Heroku

Heroku supports the Grails framework as well. Learn how to deploy a Grails application to Heroku.

Read More…

Performance management on Heroku using New Relic add-on

Monitoring is an important part of any aplication. The New Relic add-on for Heroku can help with your application performance management needs in the cloud.

Read More…

If you still have questions