
spring
文章平均质量分 56
迷失的国度
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
spring配置文件(全)
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.or原创 2010-08-04 16:27:00 · 608 阅读 · 0 评论 -
spring配置文件详解(模版本)
1.基本配置: xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xsi:schemaLocation="http://www.springframework.org/schema/beans原创 2010-08-05 09:56:00 · 779 阅读 · 0 评论 -
spring依赖注入单元测试:expected single matching bean but found 2
异常信息:org.springframework.beans.factory.UnsatisfiedDependencyException:Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.byd.mes.bussiness.service.siteoperation.activity.ExecuteActivityService] is define原创 2010-12-03 11:22:00 · 23903 阅读 · 1 评论 -
spring包装的rmi
rmi之远程接口的调用,简单点说 就是客户端能调用 服务器端的接口值得注意的几个地方:1.既然是远程接口调用,首先当然是要建立接口 以及要方法2.其次重要的是 由于这里用的是spring包装的rmi,所以我们只须在spring配置文件里配置bean就ok了3.服务器端的接口一定要拷贝一份到客户端,而且包名一定要相同在MyEclipse中新建一个rmiServer的java project,然后导入下面几个包:spring.jar;spring-aspects.jar;spring-mock.jar;co原创 2011-01-21 14:50:00 · 2125 阅读 · 1 评论 -
spring事务属性 事务传播
<br />在TransactionDefinition接口中定义了七个事务传播行为 。 <br /><br />PROPAGATION_REQUIRED 如果存在一个事务,则支持当前事务。如果没有事务则开启一个新的事务。 <br />Java代码 //事务属性 PROPAGATION_REQUIRED methodA{ …… methodB(); …… } //事务属性 PROPAGATION_REQUIRED methodB{ …… } <br /><br />原创 2011-05-23 20:37:00 · 663 阅读 · 0 评论 -
声明式事务 spring
<br /><?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:aop="http://ww原创 2011-05-23 20:23:00 · 658 阅读 · 0 评论 -
spring 2.5 API 中文文档
http://ajava.org/online/spring2.5/html/原创 2011-04-30 13:21:00 · 1420 阅读 · 0 评论