Documentation

You are viewing the documentation for the 2.6.x release series. The latest stable release series is 2.7.x.

§Learning from Play Examples

Lightbend Tech Hub offers downloadable 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. The zip files include everything you need to build and run the examples, including a distribution of the sbt and Gradle. Refer to the README.md file in the top level 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 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


Found an error in this documentation? The source code for this page can be found here. After reading the documentation guidelines, please feel free to contribute a pull request. Have questions or advice to share? Go to our community forums to start a conversation with the community.