Spring web MVC Framework provides the Model View Controller architecture, which is build on Spring Inversion of Control(Ioc)/Dependency Injection (DI). IoC feature of the Spring MVC Framework enables us to develop higly loosely coupled and flexible web applications.MVC Pattern enbles us to layer an application by Seperating Business(Model),Presentation(View) and Control Flow(Controller).
- Model contains the business logic and in general it consist of POJO’s.
- View component process the model data and generates the output back to the user.
- Controller is responsible for processing the users request and the interaction between View component and Model.