Chapter 2. Spring MVC Architecture – Architecting Your Web Store

What we saw in the first chapter was nothing but a glimpse of Spring MVC. Our total focus was just to get a Spring MVC application running. Now it's time for us to deep dive into the Spring MVC architecture.

By the end of this chapter, you will have a clear understanding of:

  • The Dispatcher servlet and request mapping
  • Web application context and configuration
  • Spring MVC request flow and Web MVC
  • A typical Spring web application architecture

Dispatcher servlet

In the first chapter, we provided a little introduction to the Dispatcher servlet and you saw how to configure a Dispatcher servlet using the DispatcherServletInitializer class. You learned that every web request first comes to the ...

Get Spring MVC Beginner’s Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.