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.
In the demo, in spite our internet connection conspiring against us, we managed to cover the following topics:
- Creating a new play 2 application
- Basic application structure
- Configuring your IDE to work with a Play application
- Persisting your data to an in-memory database with Ebean
- Adding Validations
- Working with Scala Templates
- Mixing Java and Scala source code in the same application
- Integrating twitter bootstrap
- Customizing your app cofiguration for running on Openshift
- Persisting your data to a file database when running on Openshift
- And finally, deploying your application on Openshift
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.
Java Platform, Enterprise Edition is a widely used platform for enterprise server programming in the Java programming language.
This book covers exciting recipes on securing, tuning and extending enterprise applications using a Java EE 6 implementation.The book starts with the essential changes in Java EE 6. Then they will dive into the implementation of some of the new features of the JPA 2.0 specification, and look at implementing auditing for relational data stores.They will then look into how they can enable security for their software system using Java EE built-in features as well as using the well-known Spring Security framework. They will then look at recipes on testing various Java EE technologies including JPA, EJB, JSF, and Web services.Next they will explore various ways to extend a Java EE environment with the use of additional dynamic languages as well as frameworks.At the end of the book, they will cover managing enterprise application deployment and configuration, and recipes that will help you debug problems and enhance the performance of your applications.