Play for Java

Play for Java

Covers Play 2

by Nicolas Leroux, Sietse de Kaper

297 pages· 2014· ISBN 9781617290909
About
Summary 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 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. The book requires a background in Java. No knowledge of Play or of Scala is assumed. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. 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 Authors Nicolas Leroux is a core developer of the Play framework. Sietse de Kaper develops and deploys Java-based Play applications. Table of Contents PART 1 INTRODUCTION AND FIRST STEPS An introduction to Play The parts of an application A basic CRUD application PART 2 CORE FUNCTIONALITY An enterprise app, Play-style Controllers—handling HTTP requests Handling user input Models and persistence Producing output with view templates PART 3 ADVANCED TOPICS Asynchronous data Security Modules and deployment Testing your application

Discuss Play for Java with other readers

Join or start a book club for Play for Java on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for Play for Java?

Sign up free on Readfeed, then browse public clubs or start your own club with Play for Java as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss Play for Java with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about Play for Java with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.