Spring各模块相关jar包(依赖)Spring框架
1、测试单元
Test:Spring的单元测试模块;
spring-test-xxx.jar 依赖
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>5.2.3.RELEASE</version>
</dependency>
2、IOC容器
Core Container:核⼼容器(IOC)
1. spring-beans-xxx.jar 依赖
1<dependency>
2<groupId>org.springframework</groupId>
3<artifactId>spring-beans</artifactId>
4<version>5.2.3.RELEASE</version>
5</dependency>
2. spring-core-xxx.jar
依赖
1<dependency>
2<groupId>org.springframework</groupId>
3<artifactId>spring-core</artifactId>
4<version>5.2.3.RELEASE</version>
5</dependency>
3. spring-context-xxx.jar
依赖
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>5.2.3.RELEASE</version>
<type>pom</type>
</dependency>
4. spring-expression-xxx.jar
依赖
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-expression</artifactId>
<version>5.2.3.RELEASE</version>
</dependency>
2、AOP
Aop+Aspects(⾯向切⾯编程模块)
依赖
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>5.2.3.RELEASE</version>
<type>pom</type>
</dependency>
spring-aop-xxx.jar
3、DA
DAO即Data Access缩写,数据访问的意思,其实还有个Integration(集成)
数据访问/集成包括了5个部分
1. JDBC:Java DataBase Connection 即java数据库连接 spring-jdbc-xxx.jar 依赖
1<dependency>
2<groupId>org.springframework</groupId>
3<artifactId>spring-jdbc</artifactId>
4<version>5.2.2.RELEASE</version>
5</dependency>
2. ORM:Object Relation Mapping 即对象关系映射 spring-orm-xxx.jar 依赖
1<dependency>
2<groupId>org.springframework</groupId>
3<artifactId>spring-orm</artifactId>
4<version>5.2.2.RELEASE</version>
5</dependency>
3. OXM:Object XML Mapping即对象和xml配置⽂件的映射 spring-oxm-xxx.jar
依赖
1<dependency>
2<groupId>org.springframework</groupId>
3<artifactId>spring-oxm</artifactId>
4<version>5.2.2.RELEASE</version>
5</dependency>
4. JMS:Java Msg server 即java消息服务 spring-jms-xxx.jar
依赖
1<dependency>
2<groupId>org.springframework</groupId>
3<artifactId>spring-jms</artifactId>
4<version>5.2.2.RELEASE</version>
5</dependency>
5. Transactions:即事务 spring-tx-xxx.jar
依赖
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>5.2.2.RELEASE</version>
</dependency>
125是跟DA有关系,34是和Integration有关系
4、Web
web相关包:
1. WebSocket(新的技术) spring-websocket-xxx.jar
依赖
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-websocket</artifactId>
<version>5.2.2.RELEASE</version>
</dependency>
2. Servlet(原⽣web相关) spring-web-xxx.jar
依赖
spring系列框架有哪些<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>5.2.2.RELEASE</version>
</dependency>
3. Web(开发web项⽬web模块)
spring-webmvc-xxx.jar
依赖
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>5.2.2.RELEASE</version>
</dependency>
4. Portlet(开发web⼀些组件集成) spring-webmvc-portlet-xxx.jar
依赖
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc-portlet</artifactId>
<version>4.3.21.RELEASE</version>
</dependency>
5、Spring包依赖说明:
1) spring-core.jar 依赖commons-collections.jar,spring-core.jar是以下其它各个的基本。
2) spring-beans.jar 依赖spring-core.jar,cglib-nodep-2.1_3.jar
3) spring-aop.jar 依赖spring-core.jar,spring-beans.jar,cglib-nodep-2.1_3.jar,aopalliance.jar
4) spring-context.jar 依赖spring-core.jar,spring-beans.jar,spring-aop.jar,commons-collections.jar,aopalliance.jar
5) spring-dao.jar 依赖spring-core.jar,spring-beans.jar,spring-aop.jar,spring-context.jar
6) spring-jdbc.jar 依赖spring-core.jar,spring-beans.jar,spring-dao.jar
7) spring-web.jar 依赖spring-core.jar,spring-beans.jar,spring-context.jar
8) spring-webmvc.jar 依赖spring-core.jar/spring-beans.jar/spring-context.jar/spring-web.jar
9) spring-hibernate.jar 依赖spring-core.jar,spring- beans.jar,spring-aop.jar,spring-dao.jar,spring-jdbc.jar,spring- orm.jar,spring-web.jar,spring-webmvc.jar
10) spring-orm.jar 依赖spring-core.jar,spring-beans.jar,spring-aop.jar,spring-dao.jar,spring-jdbc.jar,spring-web.jar,spring-webmvc.jar
11) spring-remoting.jar 依赖spring-core.jar,spring-beans.jar,spring- aop.jar,spring-dao.jar,spring-context.jar,spring-
web.jar,spring- webmvc.jar
12) spring-support.jar 依赖spring-core.jar,spring-beans.jar,spring-aop.jar,spring-dao.jar,spring-context.jar,spring-jdbc.jar
13) spring-mock.jar 依赖spring-core.jar,spring-beans.jar,spring-dao.jar,spring-context.jar,spring-jdbc.jar

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。