Wednesday 1 March 2017

Spring MVC tutorial



Spring MVC


Spring MVC provides model-View-controller framework for developing web applications and RESTful websites.The applications thus are loosely coupled as we separate view part from the business logic written in controllers.

Spring MVC revolves mainly around Dispatcher servlet. Dispatcher servlet is a servlet which dispatches the incoming requests to a controller for processing. Dispatcher servlet is an expression of front controller design pattern. 



Spring MVC Architechture

It is also responsible for resolving views to be rendered on browser (based on the view name returned from the controller). It provides support for locale and theme resolution.