CodePudding user response:
Spring MVC controller, similar to the Struts, receives the external request, parse parameter passed to the service layerThe Spring container belongs to the coordination context, management object dependencies between, providing transaction mechanism
Mybatis belongs to orm persistence layer framework, business entities and data table
CodePudding user response:
Spring MVC control layer, want to be with the role of the StrutsSpring inversion of control and dependency injection to create objects to a container management, achieve the effect of decoupling
Mybatis is mainly used to operate database (database to add and delete)
CodePudding user response:
Upstairs said all rightCodePudding user response:
Good, use is very convenient,CodePudding user response:
Say very reasonableCodePudding user response:
The income of upstairs.CodePudding user response:
Upstairs said is very good