I have learned a little bit recently and the progress is a little fast, SO I need to sort it out by myself. About Spring, SpringMVC, wenB layer that relies on Spring framework, is simplified to develop a simpler SpringBoot development package. After further improvement of Mybatis, Jpa of SpringData based on the Spring framework.
- Spring
-
The Spring framework was created because of the complexity of software development. Spring uses basic Javabeans to do things that were previously only possible with EJBs
-
Spring is a lightweight Inversion of Control (IoC) and AOP oriented container framework.
-
One of the biggest goals of Spring is to make JAVA EE development easier. At the same time, Spring is different from Struts, Hibernate and other single-layer frameworks in that it is committed to providing a unified and efficient way to construct the entire application, and the best combination of single-layer frameworks can be put together to build a coherent system. Spring is a framework that provides a more complete development environment, providing enterprise-level services for Plain Ordinary Java Object (POJO) objects.
-
The original purpose of Spring:
JAVA EE development should be simpler. 2. Using interfaces instead of classes is a better programming practice. Spring reduces the complexity of using interfaces to almost zero. 3. Provides a better application configuration framework for Javabeans. 4. More emphasis on object-oriented design over current technologies such as JAVA EE. 5. Minimize unnecessary exception catching. 6. Make applications easier to test.Copy the code
-
Spring’s goals:
1. It is convenient and enjoyable to use Spring. 2. The application code does not rely on the Spring APIs. 3. Instead of competing with existing solutions, Spring focuses on merging them together.Copy the code
-
The basic components of Spring:
1. The most complete lightweight core framework. Generic transaction management abstraction layer. 3. JDBC Abstraction layer. 4, Integrated Toplink, Hibernate, JDO, and iBATIS SQL Maps. 5. AOP functions. 6. Flexible MVC Web application framework.Copy the code
-