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
-
HTTP programming
-
Actions, Controllers and Results
-
HTTP routing
-
Manipulating the HTTP response
-
Session and Flash scopes
-
Body parsers
-
Actions composition
-
Content negotiation
-
Error handling
-
Asynchronous HTTP programming
-
Handling asynchronous results
-
Streaming HTTP responses
-
Comet sockets
-
WebSockets
-
The template engine
-
Templates syntax
-
Common use cases
-
Custom formats
-
Form submission and validation
-
Form definitions
-
Using the form template helpers
-
Protecting against CSRF
-
Working with Json
-
Working with XML
-
Handling file upload
-
Accessing an SQL database
-
Configuring and using JDBC
-
Integrating with JPA
-
Using Ebean ORM
-
Using the Cache
-
Calling WebServices
-
The Play WS API
-
Connecting to OpenID services
-
Accessing resources protected by OAuth
-
Integrating with Akka
-
Internationalization
-
The application Global object
-
Application global settings
-
Intercepting requests
-
Testing your application
-
Writing tests
-
Writing functional tests
-
Testing with Guice
-
Testing with databases
-
Testing web service clients
-
Logging
Advanced topics
-
Dependency injection
-
HTTP architecture
-
HTTP filters
-
HTTP request handlers
-
Advanced routing
-
Extending Play
-
Embedding Play
Next: Main concepts