Documentation

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

§Play for Java developers

The Java API for the Play application developers is available in the play package.

The API available in the play.api package (such as play.api.mvc) is reserved for Scala developers. As a Java developer, look at play.mvc.

Main concepts

  1. HTTP programming
    1. Actions, Controllers and Results
    2. HTTP routing
    3. Manipulating the HTTP response
    4. Session and Flash scopes
    5. Body parsers
    6. Actions composition
    7. Content negotiation
    8. Error handling
  2. Asynchronous HTTP programming
    1. Handling asynchronous results
    2. Streaming HTTP responses
    3. Comet sockets
    4. WebSockets
  3. The template engine
    1. Templates syntax
    2. Common use cases
    3. Custom formats
  4. Form submission and validation
    1. Form definitions
    2. Using the form template helpers
    3. Protecting against CSRF
  5. Working with Json
  6. Working with XML
  7. Handling file upload
  8. Accessing an SQL database
    1. Configuring and using JDBC
    2. Using Ebean ORM
    3. Integrating with JPA
  9. Using the Cache
  10. Calling WebServices
    1. The Play WS API
    2. Connecting to OpenID services
    3. Accessing resources protected by OAuth
  11. Integrating with Akka
  12. Internationalization
  13. The application Global object
    1. Application global settings
    2. Intercepting requests
  14. Testing your application
    1. Writing tests
    2. Writing functional tests
  15. Logging

Advanced topics

  1. Dependency injection
  2. Extending Play

Next: Main concepts