Based on MVC Pattern Analysis and design of e-commerce (B2C)sitesBefore we start our journey into the internals of Spring MVC, we first need to understand the different layers of a web application
And we’ll begin that discussion with a brief introduction of the MVC pattern in general, including what it is and why should we use it
After reviewing the MVC Pattern, we will go through the different layers in a web application and see what role each layer plays in the application
The Model View Controller pattern (MVC pattern) was first described by Trygve Reenskaug when he was working on Smalltalk at Xerox
At that time, the pattern was aimed at desktop applications
This pattern divides the presentation layer into different kinds of components
Each component has its own responsibilities