Chapter 1. Getting started with Play 2 Chapter 2: Build System Chapter 3: Play Controllers and HTTP Routing Chapter 4: Play Views and Templating with Scala Chapter 5: Concurrency and Asynchronous programming Chapter 6: Web Services, Json and XML Chapter 7: Accessing Databases Chapter 8: Complete Example Chapter 9: Using Play modules Chapter 10 - Application Settings & Error handling Chapter 11: Working with Cache Chapter 12: Production Deployment
Prem Kumar Karunakaran is an enterprise architect with around 14 years of industry experience. He holds a bachelors degree in electronics engineering and is also an Oracle Certified Java Enterprise Edition Master. He was involved in the architecture and design of many cutting-edge products used by clients around the globe. He has worked with organizations such as Infosys and IBS as an architect and has worked in many projects spanning airlines, logistics, travel and retail. He is passionate about Java and loves to learn new technologies and contributes his time to open source initiatives as well.
Enter the world of rapid web application development. This gentle introduction to Play covers all you need to know: it carefully introduces the background concepts before diving into examples, making learning Play 2 enjoyable (it includes the latest Play framework version 2.7).
Introducing Play Framework is crisp, up-to-the-point, and full of valuable information. You will find chapters covering the basics of Play, the sbt build system, the Ebean ORM, web services using Play, production deployment, cache, and more with actual pragmatic code snippets for common tasks.
After reading and using this book, you'll be able to build and deploy Java-based web applications with the Play framework.
You will:
Use the Play framework to do rapid Java-based web application development
Work with Play controllers and Play views
Create web services using JSON and XML
Persist data and access databases
Use Play modules
Carry out asynch programming
Cache, deploy, and work with code snippets in Play