Spring Boot Web MVC and ReST flows
Spring MVC and Spring boot MVC flows both are same only, in Spring boot some auto configurations happened with the help of starters, we mentioned in dependencies sections.
Step 1: when we send a request from browser,First request will be received by DispatcherServlet.
Step 2: DispatcherServlet will take the help of HandlerMapping and get to know the Controller class name associated with the given request.
Step 3: So request transfer to the Controller, and then controller will process the request by executing appropriate methods and returns ModeAndView object (contains Model data and View name) or directly String(logical name of view )back to the DispatcherServlet.
Step 4: Now DispatcherServlet send the model object to the ViewResolver to get the actual view page.
Step 5: Finally DispatcherServlet will pass the Model object to the View page to display the result on results on browser.
Spring boot MVC flow Diagram
the below diagram represents Spring boot ReST flow diagram