1 | # Play 2.0 for Java developers |
---|
2 | |
---|
3 | The Java API for the Play 2.0 application developers is available in the `play` package. |
---|
4 | |
---|
5 | > 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`. |
---|
6 | |
---|
7 | ## Main concepts |
---|
8 | |
---|
9 | 1. [[HTTP programming | JavaActions]] |
---|
10 | 1. [[Actions, Controllers and Results | JavaActions]] |
---|
11 | 1. [[HTTP routing | JavaRouting]] |
---|
12 | 1. [[Manipulating the HTTP response | JavaResponse]] |
---|
13 | 1. [[Session and Flash scopes | JavaSessionFlash]] |
---|
14 | 1. [[Body parsers | JavaBodyParsers]] |
---|
15 | 1. [[Actions composition | JavaActionsComposition]] |
---|
16 | 1. [[Asynchronous HTTP programming | JavaAsync]] |
---|
17 | 1. [[Handling asynchronous results | JavaAsync]] |
---|
18 | 1. [[Streaming HTTP responses | JavaStream]] |
---|
19 | 1. [[Comet sockets | JavaComet]] |
---|
20 | 1. [[WebSockets | JavaWebSockets]] |
---|
21 | 1. [[The template engine | JavaTemplates]] |
---|
22 | 1. [[Templates syntax | JavaTemplates]] |
---|
23 | 1. [[Common use cases | JavaTemplateUseCases]] |
---|
24 | 1. [[HTTP form submission and validation | JavaForms]] |
---|
25 | 1. [[Form definitions | JavaForms]] |
---|
26 | 1. [[Using the form template helpers | JavaFormHelpers]] |
---|
27 | 1. [[Working with Json | JavaJsonRequests]] |
---|
28 | 1. [[Handling and serving Json requests | JavaJsonRequests]] |
---|
29 | 1. [[Working with XML | JavaXmlRequests]] |
---|
30 | 1. [[Handling and serving XML requests | JavaXmlRequests]] |
---|
31 | 1. [[Handling file upload | JavaFileUpload]] |
---|
32 | 1. [[Direct upload and multipart/form-data | JavaFileUpload]] |
---|
33 | 1. [[Accessing an SQL database | JavaDatabase]] |
---|
34 | 1. [[Configuring and using JDBC | JavaDatabase]] |
---|
35 | 1. [[Using Ebean ORM | JavaEbean]] |
---|
36 | 1. [[Integrating with JPA | JavaJPA]] |
---|
37 | 1. [[Using the Cache | JavaCache]] |
---|
38 | 1. [[The Play cache API | JavaCache]] |
---|
39 | 1. [[Calling WebServices | JavaWS]] |
---|
40 | 1. [[The Play WS API | JavaWS]] |
---|
41 | 1. [[Connect to OpenID servers | JavaOpenID]] |
---|
42 | 1. [[Integrating with Akka | JavaAkka]] |
---|
43 | 1. [[Setting up Actors and scheduling asynchronous tasks | JavaAkka]] |
---|
44 | 1. [[Internationalization | JavaI18N]] |
---|
45 | 1. [[Messages externalization and i18n | JavaI18N]] |
---|
46 | 1. [[The application Global object | JavaGlobal]] |
---|
47 | 1. [[Application global settings | JavaGlobal]] |
---|
48 | 1. [[Intercepting requests | JavaInterceptors]] |
---|
49 | 1. [[Testing your application | JavaTest]] |
---|
50 | 1. [[Writing tests | JavaTest]] |
---|
51 | 1. [[Writing functional tests | JavaFunctionalTest]] |
---|
52 | |
---|
53 | ## Tutorials |
---|
54 | |
---|
55 | 1. [[Your first application | JavaTodoList]] |
---|