Spring_概述——spring架构图

The Spring Framework consists of features organized into about 20 modules. These modules are grouped into Core Container, Data Access/Integration, Web, AOP (Aspect Oriented Programming), Instrumentation, Messaging, and Test, as shown in the following diagram.

         Spring_概述——spring架构图_第1张图片


现在包含有20个组件,所有组件都是在core基础之上进行的;

Core Container:

The Core Container consists of the spring-core, spring-beans, spring-context, spring-context-support, and spring-expression (Spring Expression Language) modules.

  核心组件包含的有: 

        core:

The spring-core and spring-beans modules provide the fundamental parts of the framework, including the IoC and Dependency Injection features. 

         提供的框架的基本组成部分,包括IOC和依赖注入的特点。

        beans:

The BeanFactory is a sophisticated implementation of the factory pattern. It removes the need for programmatic singletons and allows you to decouple the configuration and specification of dependencies from your actual program logic.

         提供的框架的基本组成部分,BeanFactory是一个复杂的工厂模式实现。需要编程单身并允许您配置和规格的依赖你的实际程序逻辑解耦

        context/context-support:

The Context (spring-context) module builds on the solid base provided by the Core and Beans modules: it is a means to access objects in a framework-style manner that is similar to a JNDI registry. The Context module inherits its features from the Beans module and adds support for internationalization (using, for example, resource bundles), event propagation, resource loading, and the transparent creation of contexts by, for example, a Servlet container. The Context module also supports Java EE features such as EJB, JMX, and basic remoting. The ApplicationContext interface is the focal point of the Context module. spring-context-support provides support for integrating common third-party libraries into a Spring application context for caching (EhCache, Guava, JCache), mailing (JavaMail), scheduling (CommonJ, Quartz) and template engines (FreeMarker, JasperReports, Velocity).

        上下文模块是建立在 core和beans的基础之上;它是使用Spring框架的切入点,像JNDI规范一样;其继承了IOC和BEans的特性,并且增加了其他特色;

        express:

The spring-expression module provides a powerful Expression Language for querying and manipulating an object graph at runtime. It is an extension of the unified expression language (unified EL) as specified in the JSP 2.1 specification. The language supports setting and getting property values, property assignment, method invocation, accessing the content of arrays, collections and indexers, logical and arithmetic operators, named variables, and retrieval of objects by name from Spring’s IoC container. It also supports list projection and selection as well as common list aggregations.

        Spring表达式事多jsp2.1的一个补充

  

其他的暂时介绍参考官网:

    http://docs.spring.io/spring/docs/4.2.0.BUILD-SNAPSHOT/spring-framework-reference/htmlsingle/#spring-introduction


你可能感兴趣的:(Spring_概述——spring架构图)