Play for Java

Book description

Play for Java shows you how to build Java-based web applications using the Play 2 framework. The book starts by introducing Play through a comprehensive overview example. Then, you'll look at each facet of a typical Play application, both by exploring simple code snippets and by adding to a larger running example. Along the way, you'll contrast Play and JEE patterns and learn how a stateless web application can fit seamlessly in an enterprise environment.



About the Technology


About the Book

For a Java developer, the Play web application framework is a breath of fresh air. With Play you get the power of Scala's strong type system and functional programming model, and a rock-solid Java API that makes it a snap to create stateless, event-driven, browser-based applications ready to deploy against your existing infrastructure.

Play for Java teaches you to build Java-based web applications using Play 2. This book starts with an overview example and then explores each facet of a typical application by discussing simple snippets as they are added to a larger example. Along the way, you'll contrast Play and JEE patterns and learn how a stateless web application can fit seamlessly in an enterprise Java environment. You'll also learn how to develop asynchronous and reactive web applications.



What's Inside
  • Build Play 2 applications using Java
  • Leverage your JEE skills
  • Work in an asynchronous way
  • Secure and test your Play application


About the Reader

The book requires a background in Java. No knowledge of Play or of Scala is assumed.



About the Author

Nicolas Leroux is a core developer of the Play framework. Sietse de Kaper develops and deploys Java-based Play applications.



Quotes
Helps you transition to more productive ways to build modern web apps.
- From the Foreword by James Ward, Typesafe

The easiest way to learn the easiest web framework.
- Franco Lombardo, Molteni Informatica

The definitive guide to Play 2 for Java.
- Ricky Yim, DiUS Computing

A good cocktail of theory and practical information.
- Jeroen Nouws, XTI

An excellent tutorial on the Play 2 framework.
- Lochana C. Menikarachchi, PhD, University of Connecticut

Publisher resources

View/Submit Errata

Product information

  • Title: Play for Java
  • Author(s): Nicolas Leroux, Sietse de Kaper
  • Release date: February 2014
  • Publisher(s): Manning Publications
  • ISBN: 9781617290909