View: Views that provide users with a user interface to interact directly with the user
Model: Models, modules that host data, and calculate user-submitted requests
It is divided into two categories, called data bearer Bean
A class of called Business processing beans
The data bearer Bean refers to the entity class, which specialized user carries the business data, such as Student, user
A business processing Bean is a service or Dao object that is designed to handle user-submitted requests.
Controller: To forward the user request to the appropriate model for processing, to provide the corresponding response to the user according to the model calculation results
Workflow for MVC Architecture programs
1. The user makes a request to the server through the View page, which can be form request, hyperlink request, AJAX request, etc.
2. The service-side controllers controller receives the request to parse the request and finds the appropriate Model to process the user request
After 3.Model processing, the processing results are handed over to the Controller
4.Controller receives processing results, finds the response View page to be sent back to the client based on the processing results. The page is rendered (data populated) and then sent to the client
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/89/81/wKiom1gVrDTgkKigAADrBMIJe3o670.png "title=" 2.png " alt= "Wkiom1gvrdtgkkigaadrbmije3o670.png" height= "315" width= "681"/>
"Spring+springmvc+mybatis" 1.1 system architecture-mvc