Summary
At the start of this chapter, we learned the duty of a dispatcher servlet and how it maps a request using the @RequestMapping annotation. Next, we saw what a web application context is and how to configure it for our web application. After that, we got a little introduction about view resolvers and how InternalResourceViewResolver resolves the view file for the given logical view name. We also learned the concept of MVC and the overall request flow of a Spring MVC application, and then we learned about web application architecture. In the web application architecture section, we saw how to create and organize code under the various layers of a Spring MVC application, such as the domain layer, persistence layer, and service layer. At the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access