I’ve just posted the first release of the S3Blobs Play Framework Module. This module makes it easy to upload and download files from Amazon S3 from a JPA entity in a Play Framework Java application. This module is based on a POC that I did a few months ago, the JPA stuff from Tim Kral, and the modularization done by Roderik van der Veer. For more details on how to use the module check out the documentation, my tutorial (slightly out of date now), and the source code.
This week I’ll presenting at three Java User Groups about Running Java, Play! and Scala Apps on the Cloud:
San Diego Java User’s Group on Tuesday, January 17th Silicon Valley Web JUG on Wednesday, January 18th The Capital District Java Developers Network on Thursday January 19th Hope to see you there!
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!
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.
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.
The Heroku Java User Group Tour continues next week:
Tuesday December 6 at the Central Ohio JUG Thursday December 8 at the Orange County JUG The sessions will teach you how to deploy Java, Play! and Scala apps on the cloud with Heroku. Hope to see you there!
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!
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.
Devoxx is one of my favorite conferences of the year so I’m lucky to be presenting there again this year. This Thursday at noon I’ll be presenting about Heroku and how to deploy Java, Play Framework, and Scala apps on the cloud. Hopefully see you there!
On November 10, 2011 Sandeep Bhanot and I will be presenting an Introduction to Java & Play Framework on Heroku at the Hacker Dojo in Mountain View. Space is almost gone, so register now! Hope to see you there.