3. Client-side Spring – Spring in Action, Second Edition

Part 3. Client-side Spring

Now that you’ve seen how to build the business layer of a Spring application, it’s time to put a face on it.

In chapter 13, “Handling web requests,” you’ll learn the basics of using Spring MVC, a web framework built on the principles of the Spring Framework. You’ll discover Spring MVC’s vast selection of controllers for handling web requests and see how to transparently bind request parameters to your business objects while providing validation and error handling at the same time.

Once a request has been handled, you’ll likely want to show the results to the user. Chapter 14, “Rendering web views,” will pick up where chapter 13 left off by showing you how to match controller output to JSP, Velocity, and FreeMarker views. You’ll also learn how to lay out your pages using Tiles and how to produce PDF, Excel, and RSS output in Spring.

Building on what you learned in chapters 13 and 14, chapter 15, “Using Spring Web Flow,” will show you how to build conversational, flow-based web applications using the Spring Web Flow framework.

Although Spring MVC is a fantastic web framework, you may already have a different framework in mind for your application’s web layer. In chapter 16, “Integrating with other web frameworks,” you’ll see how to use frameworks such as Struts, WebWork, Tapestry, and JSF to front your Spring application.