springboot mvc pattern
springboot mvc pattern
2. The Spring front controller i.e, DispatcherServlet first receives the request.
2. The Spring front controller i.e, DispatcherServlet first receives the request.
4. HandlerMapping identifies the controller for the given request and sends to
the DispatcherServlet.
5. DispatcherServlet will call the handleRequest(request,response) method on
Controller. A Controller is developed by writing a simple java class which
implements Controller interface or extends its adapter class.
7. Service class will call the DAO class method for business data.
11.The Controller returns the Model and View in the form of Object back to the
Controller i.e, DispatcherServlet.
12.The front controller i.e, DispatcherServlet then tries to resolve the actual View
which may be JSP,velocity or Free Marker by consulting the View Resolver
Object.