Documentation

You are viewing the documentation for the 2.9.4 release in the 2.9.x series of releases. The latest stable release series is 3.0.x.

§Learning from Play Examples

The play-samples GitHub repository offers Play examples for Java and Scala. Play has many features, so rather than pack them all into one project, we’ve organized many examples that each showcase a Play feature or demonstrate a common use case. Make sure you have verified the requirements for running Play. You can either clone the play-samples GitHub repository or download its contents as zip file. Refer to the README.md file within each sample project directory to learn more about the example.

Note: The example projects are not configured for out of the box security.

If you are new to Play, we recommend following the Hello World tutorial for Java or Scala first:

  1. Play Java Hello World
  2. Play Scala Hello World

Note: When you run the tutorial application, it displays web pages with the same content and instructions contained in this documentation. The tutorial includes a deliberate mistake and having the documentation and application pages open in different tabs or browsers allows you to consult the documentation for the fix when you encounter the error.

Next: Creating a New Application