This course follows on from module 1.
Having problems? check the errata for this course.
1 |
Servlet Annotations |
Preview
22m 9s |
|
We can now write Java Web Applications without writing a web.xml. | |||
2 |
Servlet Filters |
Watch
22m 37s |
|
Filters can be used to intercept the request/response cycle. Matt shows a great working example of enhancing a search routine. | |||
3 |
JSP Introduction |
Watch
16m 24s |
|
The servlets we have written so far are not production standard. JSPs are an improvement and we introduce them here. | |||
4 |
Further JSP |
Watch
23m 22s |
|
We now start to build out our web app, with headers, footers and dynamic content. As Matt warns, this is all necessary work but we're not yet at a production standard - that will come in further chapters! | |||
5 |
MVC |
Watch
34m 23s |
|
Servlets and JSPs need to be carefully architected. MVC is a classic pattern in web applications where we divide the Java code from the presentation code. Many modern frameworks such as Spring support this approach. | |||
6 |
JSTL |
Watch
33m 38s |
|
Although the MVC has cleaned things up, the JSP still looks horrible. With the simple JSTL, we can make our JSP page look much more like a standard HTML file. | |||
7 |
Ajax |
Watch
46m 49s |
|
How to include an Ajax front end into a Java Web App. Matt explains what Ajax is and we implement a "partial page update". | |||
8 |
Asynchronous Servlets |
Watch
37m 26s |
|
These were added in servlet spec 3.0, and allows a Comet/Reverse Ajax approach. This is useful information to know, but Matt concludes that for most applications, asynch servlets aren't very usable. Websockets - coming next - are generally a richer and more flexible approach. | |||
9 |
Websockets |
Watch
37m 57s |
|
Websockets are a new approach to asynchronous communication between client and server. Matt builds a websocket version of the previous work, from scratch. | |||
10 |
Websockets Part 2 |
Watch
14m 25s |
|
Websockets are "full duplux", meaning that both the client and the server can push data to the other. We'll complete the kitchen manager application to close the course! |