Try the New Play Framework Heroku Plugin

I just published a [Heroku Plugin for Play Framework][1]. Right now it just deploys a Play app to Heroku. Try it out: [Signup for a Heroku account][2] Install the Heroku plugin locally: ```bash $ play install heroku 3. Create a Play (1.2.3 or 1.2.4) app: ```bash $ play new foo --with heroku Or if you already have an existing Play app, add the follow line to the _conf/dependencies.yml_ file and then run "play deps -sync": ```yaml play -> heroku 0.

Tutorial & Screencast: Java on Heroku with Eclipse

UPDATE: There is a new and better way to get started with Java on Heroku using Eclipse. For details check out: Screencast: Java Template Apps on Heroku The rest of this post is now legacy stuff. I recorded a screencast and put together some instructions on how to try out Java on Heroku using just a web browser and Eclipse. First, check out the screencast: Here are steps you can follow to get started running Java on Heroku with Eclipse and your browser:

Heroku JUG Tour: Boulder, Phoenix, & Portland

For the next wave of the Heroku Java User Group Tour I will be speaking about running Java, Play Framework, and Scala apps on the cloud in these three wonderful places: Boulder, Colorado - December 13 Phoenix, Arizona - December 14 Portland, Oregon - December 20 I hope to see you there!

Tutorial: Play Framework, JPA, JSON, jQuery, & Heroku

UPDATE: This tutorial is for Play 1.x (an old version). Check out my Play 2 Tutorial if you want to get started with the latest stuff. (Thanks to John Borys for pointing this out.) If you are a Java developer then you really need to give Play Framework a try. It is really refreshing to take a few minutes, step out of the legacy-feeling world of traditional Java web app development and into something modern and fun.

Using MongoDB for a Java Web App’s HttpSession

Since the web’s inception we’ve been using it as a glorified green screen. In this model all web application interactions and the state associated with those interactions, is handled by the server. This model is a real pain to scale. Luckily the model is shifting to more of a Client/Server approach where the UI state moves to the client (where it should be). But for many of today’s applications we still have to deal with server-side state.

Heroku Preso from Devoxx 2011

As expected… Devoxx 2011 rocked! Such a fun conference with top notch sessions and people. I presented a session on how to deploy Java, Play Framework, and Scala apps on Heroku. Matt Raible did a great (and very thorough) write-up on my session. Thanks Matt! Here are my slides: There was also some hot news at Devoxx… Play Framework 2 is the official web framework in the Typesafe Stack! And Heroku already supports Play 2!

Using Apache Tomcat on Heroku

One great thing about Heroku is the freedom to use any APIs and any application server. On Heroku you bring your application server with you. The easiest way to do this is by specifying your app server as a dependency of your application. This allows for maximum control and avoids the pain associated with developer and production environments using different versions of the container. Most of the articles that have been written about running Java on Heroku use embedded Jetty since it’s lightweight and easy to specify as a dependency.