Expert Spring MVC and Web Flow

(Dana P.) #1

Summary


In this chapter we introduced the view part of an MVC application. We looked at what the
responsibility of a view is, why a view should be cleanly decoupled from the other layers, and
how Spring helps us to achieve these goals. We covered in detail the Spring Viewimplementa-
tion hierarchy, how ViewResolvers work and which ViewResolvers can be used for your
particular needs.
We’ve also taken a detailed look at internationalization in the view layer and considered
how to further enhance the user experience through the use of themes. Lastly, we recapped
bind support prior to detailing it in the following chapter.
This chapter has been quite abstract in nature; the concepts introduced provide the basis
for Spring’s support of many different view types. In the next chapter, we’ll take a good look at
those specific view types and how to configure them in your applications.

222 CHAPTER 7 ■THE VIEW LAYER

Free download pdf