SPRING框架概括——由外到内慢慢爬

来源:互联网 发布:2017淘宝复核认证规则 编辑:程序博客网 时间:2024/06/10 14:25
Spring Module
1.核心容器 
 1.1 sping-core以及sping-beans.框架的核心组成,包括的IOC控制反转和依赖注入。提供以单例模式或原型的方式创建bean实例。
    1.2 spring-context,提供以框架的方式访问对象,有点像JNDI注册。
    1.3 spring-context-support,用来支持第三方包在spring中的集成,如Ehcache(for caching),Quartz(for scheduling)。
    1.4 spring-Expression,对jsp2.1的EL表达式语言做了扩展。

2.AOP and Instrumentation
   2.1 spring-aop模块提供了面向切面编程方式,允许你定义一个拦截函数或者切入点,目的是使得功能上完全不搭嘎的2个函数块解耦。
   2.2spring-aspect模块提供和AspectJ的集成。
   2.3 spring-instrument模块提供在应用程序服务器(如TOMCAT)中使用到的工具支持和类加载器的实现。spring-instrument-tomcat为
tomcat提供了Spring’s instrumentation 代理 .

3.Messaging:支持message方案的集成。

4.Data Access/Integration
  4.1  spring-jdbc 提供了JDBC抽象层,移除了复杂JDBC代码以及数据库厂商特殊错误代码的解析。
  4.2 spring-tx 模块支持实现特殊接口的类的事务管理能力。
  4.3  spring-orm 模块提供对object-relational mapping APIs(orm)的集成支持,包括JPA,JDO,Hibernate,以及MyIbatis.
  4.4  spring-oxm 模块提供一个支持Object/XML mapping实现的一个抽象层,比如JAXB, Castor, XMLBeans, JiBX and XStream.
  4.5  spring-jms 模块提供了收发短信的特性。Spring4.1开始,它支持与spring-messaging模块的集成.

5.Web
 Web层包括:spring-webspring-webmvcspring-websocket, and spring-webmvc-portlet.

6.Test
spring-test支持单元测试,支持加载spring上下文 ApplicationContext.

总结:模块视图~

Spring Framework Artifacts

GroupIdArtifactIdDescription

org.springframework

spring-aop

Proxy-based AOP support

org.springframework

spring-aspects

AspectJ based aspects

org.springframework

spring-beans

Beans support, including Groovy

org.springframework

spring-context

Application context runtime, including scheduling and remoting abstractions

org.springframework

spring-context-support

Support classes for integrating common third-party libraries into a Spring application context

org.springframework

spring-core

Core utilities, used by many other Spring modules

org.springframework

spring-expression

Spring Expression Language (SpEL)

org.springframework

spring-instrument

Instrumentation agent for JVM bootstrapping

org.springframework

spring-instrument-tomcat

Instrumentation agent for Tomcat

org.springframework

spring-jdbc

JDBC support package, including DataSource setup and JDBC access support

org.springframework

spring-jms

JMS support package, including helper classes to send and receive JMS messages

org.springframework

spring-messaging

Support for messaging architectures and protocols

org.springframework

spring-orm

Object/Relational Mapping, including JPA and Hibernate support

org.springframework

spring-oxm

Object/XML Mapping

org.springframework

spring-test

Support for unit testing and integration testing Spring components

org.springframework

spring-tx

Transaction infrastructure, including DAO support and JCA integration

org.springframework

spring-web

Web support packages, including client and web remoting

org.springframework

spring-webmvc

REST Web Services and model-view-controller implementation for web applications

org.springframework

spring-webmvc-portlet

MVC implementation to be used in a Portlet environment

org.springframework

spring-websocket

WebSocket and SockJS implementations, including STOMP support


0 0
原创粉丝点击