Spring依赖解析【L】

本文详细介绍了Spring框架中核心依赖的配置方式,包括spring-context、spring-context-support等模块的功能及相互之间的关系,并列举了与数据库操作相关的spring-jdbc和spring-orm模块。此外,还给出了Oracle数据库连接所需的ojdbc5依赖配置。
<!-- test start-->
	<dependency>
		<groupId>junit</groupId>
		<artifactId>junit</artifactId>
		<version>4.6</version>
		<scope>test</scope>
	</dependency>
    <!-- test end-->
    <!-- spring start -->
 	<dependency>
		<groupId>org.springframework</groupId>
		<artifactId>spring-context</artifactId>
		<version>${project.spring.version}</version>
	</dependency>
	<!-- 
		 +- org.springframework:spring-context:jar:3.1.4.RELEASE:compile  在基础IOC功能上提供扩展服务
		 |  +- org.springframework:spring-aop:jar:3.1.4.RELEASE:compile   Spring的面向切面编程
		 |  |  \- aopalliance:aopalliance:jar:1.0:compile                 AOP
		 |  +- org.springframework:spring-beans:jar:3.1.4.RELEASE:compile Spring IOC的基础实现
		 |  +- org.springframework:spring-core:jar:3.1.4.RELEASE:compile  Spring的核心工具包
		 |  |  \- commons-logging:commons-logging:jar:1.1.1:compile       LOG
		 |  +- org.springframework:spring-expression:jar:3.1.4.RELEASE:compile  Spring表达式语言
		 |  \- org.springframework:spring-asm:jar:3.1.4.RELEASE:compile    第三方
	
	 -->
	<dependency>
		<groupId>org.springframework</groupId>
		<artifactId>spring-context-support</artifactId>
		<version>${project.spring.version}</version>
	</dependency>
	<!--  \- org.springframework:spring-context-support:jar:3.1.4.RELEASE:compile Spring context的扩展支持-->
	<!-- data start -->
	<dependency>
		<groupId>org.springframework</groupId>
		<artifactId>spring-jdbc</artifactId>
		<version>${project.spring.version}</version>
	</dependency>
	<dependency>
		<groupId>org.springframework</groupId>
		<artifactId>spring-orm</artifactId>
		<version>${project.spring.version}</version>
	</dependency>
	<!-- 
		+- org.springframework:spring-jdbc:jar:3.1.4.RELEASE:compile  数据源、事务、自带JDBC
			|  \- org.springframework:spring-tx:jar:3.1.4.RELEASE:compile 等提供的一致的声明式和编程式事务管理
			\- org.springframework:spring-orm:jar:3.1.4.RELEASE:compile  第三方提供(ibatis\hibernate等)
	 -->
	<!-- data end -->
	<!-- spring end -->
	<!-- Oracle start -->
	<dependency>
		<groupId>com.oracle</groupId>
		<artifactId>ojdbc5</artifactId>
		<version>11.2.0.3</version>
	</dependency>
	<!-- Oracle end -->
  </dependencies>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值