Thursday 1 February 2018

Introduction of Spring MVC

Spring, spring mvc, introduction to spring , introduction to spring mvc , advantage of spring, disadvantage of spring.

Spring MVC
  ü  Spring MVC is Web Framework like Struts1, Struts2, and JSF
  ü  Spring MVC is used to develop web application easily and quickly with less maintenance.
  ü  Spring MVC covers Web Layer which includes Presentation layer and Controller Layer.
  ü  Spring MVC is implemented based on :
·         MVC Architecture
·         Front Controller design pattern
·         Servlets and JSP

Framework
Front Controller
Struts1
ActionServlet
Struts2
FilterDispatcher
JSF
FacesServlets
Spring MVC
DispatcherServlet

  • Spring MVC tutorial provides an elegant solution to use MVC in spring framework by the help of DispatcherServlet.
  • In Spring Web MVC, DispatcherServlet class works as the front controller. It is responsible to manage the flow of the spring mvc application.
  • The @Controller annotation is used to mark the class as the controller in Spring 3.
  • The @RequestMapping annotation is used to map the request url. It is applied on the method.






DashZin

Author & Editor

Has laoreet percipitur ad. Vide interesset in mei, no his legimus verterem. Et nostrum imperdiet appellantur usu, mnesarchum referrentur id vim.

2 comments: