The Spring Web MVC framework uses the model-view-controller (MVC) architecture, which manages the web applications. This provides a ready component that can be used by developers to develop a robust and loosely-coupled web application. With the presentation of Spring 3.0, the @Controller component additionally enables you to make peaceful web locales and applications through the @PathVariable annotation and different features. The MVC pattern separates the different aspects, such as input, business, and UI logic of the application.
There are three parts to MVC:
- The model is at the core of MVC applications. This is where the primary logic and information objects that comprise the core usefulness of the application are produced.
- The view is the place the information given by the model is introduced to the client. A view regulates the visual (or other) interface components...