This section provide you the brief introduction of Spring MVC framework and it's lifecycle.
Spring MVC is model-view-controller(MVC) based web framework. Spring MVC is the web component of the Spring framework. Spring MVC framework is highly configurable in terms of functionality and logic. Spring MVC framework integration with other framework like Struts, JSF, Tapestry etc is very easy. For rendering view JSP and Servlet is not the only option in Spring MVC framework, you can use other view technologies like Freemarker, Velocity, Excel or Pdf for providing view to the clients.
Spring MVC framework is request driven and designed around a central Servlet. This central Servlet sends requests, for processing, to suitable controller and it also render the render the view to the client with the help of View Resolver object. The central Servlet in Spring MVC is DispatcherServlet which is fully integrated with Loc container, which give us freedom to use other features of Spring.
Given below the complete life cycle of Spring MVC (step by step):
If you enjoyed this post then why not add us on Google+? Add us to your Circles
Liked it! Share this Tutorial