1. What is Spring?
①spring is an open source framework;
②spring is designed to simplify enterprise-class application development. Using spring enables simple JavaBean to implement functionality that was previously only available to EJBS.
③spring is an IOC (DI) and an AOP container framework.
2. Describe spring in detail:
① Lightweight: Spring is non-invasive-objects in spring-based applications can be independent of spring's API;
② Dependency Injection: (DI---Dependency injection, IOC);
③ aspect-oriented programming: (AOP---aspect oriented programming);
④ container: Spring is a container because it contains and manages the life cycle of the Application object;
⑤ Framework: Spring implements a complex application that combines simple component configurations with XML and Java annotations that can be used in spring to combine these objects;
⑥ one-stop: On the basis of IOC and AOP, it is possible to integrate open source frameworks and excellent third-party libraries for various enterprise applications (in fact spring itself provides the SPRINGMVC of the presentation layer and the spring JDBC of the persistence layer);
Spring (4.0.2)-(Still Silicon Valley) study notes 1