Chapter 1. An introduction to Play

This chapter covers

  • What the Play framework is
  • What high-productivity web frameworks are about
  • Why Play supports both Java and Scala
  • Reactive programming
  • Play 2 enterprise features
  • What a minimal Play application looks like

Play isn’t really a Java web framework. Java’s involved, but that isn’t the whole story.

The first version of Play may have been written in the Java language, but it also ignored the conventions of the Java platform, providing a fresh alternative to excessive enterprise architectures. Play was not based on Java Enterprise Edition APIs and made for Java developers; Play is for web developers.

Play wasn’t written for web developers, it was written by web developers, and they brought ...

Get Play for Java 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.