Chapter 4. Quick introduction to Play

This chapter covers

  • The structure of a Play application
  • The core concepts of Play, including HTTP actions and WebSocket handlers
  • A few advanced features, such as customization mechanisms for error handling and custom request filters

The Play Framework is a web application framework inspired in its design by Model-View-Controller (MVC) frameworks such as Ruby on Rails and Django. Unlike most JVM-based web application frameworks, Play doesn’t build on top of the Servlet standard, but instead has its own lightweight abstraction of the HTTP and WebSocket protocols. It’s stateless at its core (it doesn’t hold server-side state) and it’s built around the concept of asynchronous request handling. Along with ...

Get Reactive Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.