Start learning Spring today, first come to know what is spring.
1. First, Spring is a framework and is open source.
2. Spring is designed to simplify enterprise-class application development. Using Spring enables simple JavaBean to implement functionality that only previous EJBS can implement. (Although I haven't learned EJB, I've heard that EJB configuration seems like a hassle, and spring is very simple to configure.)
3. Spring is an IOC (DI) and an AOP container framework. (IOC: Control inversion; DI: Dependency injection; AOP: tangent-oriented programming)
Describe in detail:
-Lightweight: Spring is non-intrusive, and objects in spring-based applications can be independent of the spring API
-Dependency Injection (di--dependency injection, also known as IOC)
-Plane-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 is combined with simple component configurations. These objects can be combined in Spring using XML and Java annotations
-One-stop: an open source framework and excellent third-party class libraries for enterprise applications can be consolidated on the basis of IOC and AOP (in fact, spring itself provides the SPRINGMVC and persistence layer of spring JDBC for the presentation layer)
The above content in later study will gradually deepen understanding, here first understand.
Here's an installation of a plug-in for Eclipse development Spring, because I didn't care about the details of the installation, so I installed it one night and one morning. Write it down here.
Because there are a lot of installation tutorials on the web, it's not written here, it's just some of the things I know that might go wrong.
First of all, download the plugin, here is a question to note, because different versions of the Eclipse version of the spring Tool Suite version, so according to their own Eclipse version number to download the plugin
Springsource-tool-suite-3.7.3.release-e4.5.2-updatesite.zip, for example, this is the file name of a spring tool suite, so the last e4.5.2 corresponds to Version of Eclipse
In one is, the installation process may not be wrong, but in the end will prompt installation failure, so, do not be discouraged, for the sake of faith, try again ...
1. Spring introduction and the Spring Tool Suite plug-in installation for Eclipse