Documentation

You are viewing the documentation for the 2.4.0-M3 development release. The latest stable release series is 3.0.x.

§Play 2.4.0-M3 documentation

Play is a high-productivity Java and Scala web application framework that integrates the components and APIs you need for modern web application development.

Play is based on a lightweight, stateless, web-friendly architecture and features predictable and minimal resource consumption (CPU, memory, threads) for highly-scalable applications thanks to its reactive model, based on Iteratee IO.

Getting started

  1. Installing Play
  2. Creating a new application
  3. Anatomy of a Play application
  4. Play Modules
  5. Using the Play console
  6. Setting-up your preferred IDE
  7. Play Tutorials

Working with Play

  1. Play for Scala developers
  2. Play for Java developers

Detailed topics

  1. The build system
    1. The Build System
    2. About sbt settings
    3. Manage application dependencies
    4. Working with sub-projects
    5. Improving Compilation Times
    6. Cookbook
  2. Working with public assets
    1. Working with public assets
    2. Using CoffeeScript
    3. Using LESS CSS
    4. Using JSHint
    5. Using RequireJs
  3. Configuration
    1. Configuration file syntax and features
    2. Configuring the application secret
    3. Configuring the JDBC connection pool
    4. Configuring Play's thread pools
    5. Configuring logging
    6. Configuring gzip encoding
    7. Configuring security headers
    8. Configuring WS SSL
      1. Configuring WS SSL
      2. Quick Start to WS SSL
      3. Generating X.509 Certificates
      4. Configuring Trust Stores and Key Stores
      5. Configuring Protocols
      6. Configuring Cipher Suites
      7. Configuring Certificate Validation
      8. Configuring Certificate Revocation
      9. Configuring Hostname Verification
      10. Example Configurations
      11. Using the Default SSLContext
      12. Debugging SSL
      13. Loose Options
      14. Testing SSL
  4. Databases
  5. Managing database evolutions
  6. Deploying your application
    1. Deploying your application
    2. Creating a standalone version
    3. Production configuration
    4. Setting up a front end HTTP server
    5. Configuring HTTPS
    6. Deploying to a cloud service
      1. Deploying to a cloud service
      2. Deploying to Heroku
      3. Deploying to Cloud Foundry
      4. Deploying to Clever Cloud

Experimental libraries

  1. Akka HTTP server backend
  2. Reactive Streams integration

Hacking Play

  1. Building Play from source
  2. 3rd party tools
  3. Repositories
  4. Issue tracker
  5. Contributor guidelines
  6. Documentation guidelines
  7. Translating documentation
  8. Working with git

About Play

  1. Play philosophy
  2. Play user groups

Play releases

  1. What's new in Play 2.4?
  2. What's new in Play 2.3?
  3. What's new in Play 2.2?
  4. What's new in Play 2.1?
  5. Play 2.4 migration guide
  6. Play 2.3 migration guide
  7. Play 2.2 migration guide
  8. Play 2.1 migration guide

§Modules and plugins

Temporary modules directory

Next: Getting started