1.1 Spring Overview
A Brief History of 1.1.1 Spring
The first stage: xml configuration
Spring 1.x era using xml configuration Bean
Phase II: Configuration notes
-
- Spring2.x Spring Bean declaration provides annotations (such as @ Component, @ Service), the basic configuration of applications (such as database configuration) with xml, service configuration with annotations
The third stage: Java Configuration
Spring3.x & 4.x using Java configuration allows you to better understand your configuration Bean
1.1.1 Spring Overview
Simple Spring POJO objects using enterprise development, each managed by a Spring Java objects are called Bean, Bean initialization through the IOC container, to solve the dependency management objects and object parts use
1. Sring module
(1) Core Core Container vessel
Spring-Core: Core Tools
Spring-Beans: Spring Bean of the definition of support
Spring-Context: Spring runtime container
Spring-Context-Support: Spring container integrated support for third-party packages
Spring-Expression: Using Expressions preview query and manipulate objects at run time
(2) AOP
Spring-AOP: proxy-based AOP support
Spring-Aspects: AOP supports AspectJ annotation
(3) message Mesaging
Spring-Messaging: support for messaging architectures and protocols
(4)Web
Spring-Web\Spring-Webmvc\Spring-WebSocket\Spring-Webmvc-Portlet
(5) Data Access / Integration Data Acess / Integration
Spring-JDBC\Spring-TX\Spring-ORM\Spring-OXM\Spring-JMS
2.Spring ecology