SSM framework, which is the abbreviation of Spring + spring MVC + mybatis, is a relatively mainstream Java EE enterprise framework after SSH, which is suitable for building various large-scale enterprise application systems.<br>Spring is an open source framework. Spring is a lightweight java development framework developed in 2003. In expert one on one J2EE development and design, it is derived from some concepts and prototypes elaborated by rod Johnson. It is created to solve the complexity of enterprise application development. Spring uses basic JavaBeans to do things that were previously only possible with EJBs. However, the use of spring is not limited to server-side development. In terms of testability and loose coupling, any Java application can be inspired by spring. In short, spring is a lightweight inversion of control (IOC) and aspect oriented (AOP) container framework.<br>Spring MVC is a follow-up product of spring framework and has been integrated into spring web flow. Spring MVC separates the roles of controllers, model objects, dispatchers, and handler objects, which makes them easier to customize.<br>Mybatis is an open-source project of Apache, ibatis. In 2010, this project was migrated from Apache Software Foundation to Google Code, and changed its name to mybatis. Mybatis is a Java based persistence framework. The persistence layer framework provided by ibatis includes SQL maps and data access objects (DAO) mybatis, which eliminates almost all the manual settings of JDBC code and parameters as well as the retrieval of result sets. Mybatis uses simple XML or annotations for configuration and raw mapping, mapping the interface and Java POJOs (plain old Java objects) to records in the database.
正在翻译中..