Deploy Play Framework 2 apps to Openshift with Java AND Scala

A couple of weeks,
Mark Atwood,
Jorge Aliss, and me,
Sebastián Scarano participated in Red Hat’s webinar
LET’S PLAY! IN THE CLOUD: DEVELOPING JAVA WEB APPS ON OPENSHIFT

In the webinar Mark gave a neat introduction to Openshift, Red Hat’s free Platform as a Service:

Then we developed a basic contact manager web application, combining Java and Scala source code in the same Play 2 application, and deployed it on Openshift.

 

With
this quickstart (
https://github.com/opensas/play2-openshift-quickstart) you’ll be able to take any Play 2 application and deploy it on openshift. Just follow
this instructions.

And
here (
https://github.com/opensas/play2-contacts-demo) you will find the contact demo app.

In the demo, in spite our internet connection conspiring against us, we managed to cover the following topics:

You can also check
this article in which we explain in detail how we took advantage of the new
“do-it-yourself” application type on Openshift to achieve
native support for Play Framework application on Openshift.

So, if you want to start deploying your play apps on openshift right away, just sign up at
openshift.com and enter
PLAY!WEBINAR as promotional code, and you’ll get 3 gears, each with 1GB ram and 512 MB data space, for free.

Have fun playing on the cloud!


Reference:
Deploying Play Framework 2 apps, with Java AND Scala, to Openshift from our
JCG partner Sebastian Scarano at the
Having fun with Play framework! blog.

Source : http://www.javacodegeeks.com/2012/05/deploy-play-framework-2-apps-to.html