featuring Session Handling, Validation with JSR 303, PDF and Excel Views, Ajax and WebFlow
contains over 8 hours of video - equivalent to 3 days of live training.
We also assume you are familiar with Java - writing classes, creating objects and the basic Java syntax.
Some HTML knowledge will be useful and a little background research might be needed if you are new to HTML.
Having problems? check the errata
Introduction 6m 31s A quick overview of the course. |
Preview |
Getting Started 26m 19s We configure your development environment and Tomcat. In case you need a review of plain MVC, we give a quick overview. You may not need this chapter if you have already done web development and are familiar with MVC. |
Watch |
Spring MVC Controllers 36m 10s We now write our first Spring-MVC controller. We'll see how to configure the "DispatcherServlet" and what the @RequestMapping annotation is. |
Preview |
Automatic Controller Scanning 10m 52s Although the controller we previous wrote works, many projects use an alternative approach which reduces the amount of XML you need. In this short chapter we show how this works. |
Watch |
Parameters and Sessions 43m 15s We now see how to pass parameters from a web page to a controller, and then how to handle sessions. |
Watch |
Form Handling 33m 0s We'll now add a more complex form and we'll see how to "bind" an object to the form. |
Watch |
Validation 38m 50s The most important aspect of Forms is how to check they are valid before you process them. Here, we add "manual validation" to your form. |
Watch |
Declarative Validation (JSR-303) 35m 20s An alternative to manual validation is "declarative validation", covered by a Java standard called JSR-303. |
Preview |
Alternative Views 27m 35s As well as JSP, Spring-MVC supports a range of different views. Here we look at PDF and Excel spreadsheets. |
Watch |
View Resolvers 28m 47s Many projects use View Resolvers with Spring-MVC - these remove hardcoding from your controllers. We'll add two view resolvers to our code and see the benefit. |
Watch |
Ajax and JSON 43m 14s We give a full overview of Ajax in case you're new to it. Then we see how a simple annotation is used to make a Spring controller work with an Ajax client. |
Watch |
WebFlow - Getting Started 44m 23s WebFlow is an add-on to Spring-MVC. We'll see when it should be used, and then go through the configuration steps. |
Watch |
WebFlow - Complex Flows 48m 31s Now we're set up, we'll see how to write a professional standard flow using a very expression XML description. |
Watch |
WebFlow - Going Further 51m 43s We need another chapter to complete our WebFlow knowledge! We'll see how the back button and refresh buttons work, and what Flash Scope is. |
Watch |
Where to go Next 9m 52s We've aimed to get you to a professional standard in Spring-MVC and WebFlow. We can't quite cover everything, so we now describe your next steps. We also briefly cover the legacy Spring-MVC controllers. |
Watch |
Bonus Chapter - MVC JavaConfig 47m 34s After the course was released, it became very popular to use JavaConfig instead of XML for configuration. We have a separate module available on JavaConfig, but we thought it only fair to add the MVC section of the course to here. The project used on the course is different, but all of the concepts should apply. The chapter assumes you've already learnt JavaConfig - you can find details of this in the Spring Fundamentals course, or our separate JavaConfig module. |
Watch |