group-icon
Java Developers
Group for Java developers and programmers. Ask questions and get answers related to Java programming
255 Members
Join this group to post and comment.
Soubhik Maji
Soubhik Maji
Computer Science
05 Feb 2019

Spring MVC overview and Introduction

Spring MVC



1.Front Controller - It where incoming requests come ... ITS DELEGATES THE control to the required controller ....


2.Controller - when the control is passed to the controller ...a particular method will be called based on URL mapping in the annotation. ..


 This method which will get called will definitely create a model ... 


Model is just some information that is already persisting or that already persists ...or that will get created 


I.e it may be in the database or will get created based on some logic in the database ...


The model is passed to the front controller and then front controller passes the model to the view file ...then the view file will display the data accordingly ...



3.View template will again  pass the control to the front controller with the view file probably ...Then finally the front controller returns