Original: ssm frame (spring 5, mybatis3, spring effect integrated controller layer and the service layer summary of

Because novice, finishing off more than two days, hereby summarize, in order to later use

  1 idea analysis:

a) Background Integration: a spring, springMvc, mybatis finishing successfully configured separately for each base frame
b) Integration Motivation: by three frames are responsible dao, service, and the controller layer of the individual layers. Junit desirable to test each of the layers individually, but also organic complexes do play a role in each hierarchy
c) springMVC spring is a branch, a Web-based framework on SpringMVC Spring added functionality, must rely want SpringMVC Spring. So spring between the three layers, the middle layer is responsible for connecting link between the role.

 

footnote:

Role of the controller layer and service layer,

 

 

Guess you like

Origin www.cnblogs.com/asplover/p/12432954.html