springMVC learning _____1 Overview principles and achieve

 

:( 1.MVC three-tier architecture is an architectural idea, not a design pattern)

 

M (Model) : data model layer: comprising data and operations on the data. Dao layer generally also includes: direct access to the database, Service Layer: Call Dao.

V (View) : view layer: something displayed to the user, the front page;

C (the Controller) : Control Layer: receiving data transmitted from the View layer (view layer) come, then call Model (model layer data), the operation of the database, the processing returns again View layer result, the scheduling corresponds to a duty device.

 

2.SpringMVC is based on lightweight web MVC framework for Java.

1.DispatcherServlet :( core distributor)

The Spring MVC and its his MVC frameworks, but also to request the driver, the core distributed processing these requests by the Center for Servlet.

DispatcherServlet nature is servlet, also inherited from HttpServlet.

2.

 

page

Guess you like

Origin www.cnblogs.com/xbfchder/p/11297196.html