On the SSM framework

  • SSM frame ( the Spring SPRINGMVC + + MyBatis )

SSH frame ( the Struts + + the Hibernate the Spring )

SSM compared to SSH more lightweight and flexible, are more mainstream JavaWeb development framework

  • Spring:  the object can manage the project life cycle

                 The container frame is Aspect Oriented Programming (AOP) lightweight inversion of control (IOC)

                  AOP matters greatly optimizing the operation of its services

  • SpringMVC: your Web layer . Servlet technology replaces the processing request, as a bridge connecting the front end.
  •  MyBatis: belongs Dao layer . Simplifying database operations using dynamic sql programmers only need to focus sql statement.

 

SSM framework in which the Web project location 

Spring throughout the web layer, service layer, DAO layer of the three layers, but does not belong to any one of these three layers.

Guess you like

Origin blog.csdn.net/weixin_42153410/article/details/90741474