![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
iteye_13152
这个作者很懒,什么都没留下…
展开
-
about annotations
来源 :http://www.jroller.com/habuma/date/20070516 spring 2.0 配置文件 [code="java"] [/code] ...2010-04-14 22:02:03 · 140 阅读 · 0 评论 -
Spring quartz中CronExpression的含义表示
一个Cron-表达式是一个由六至七个字段组成由空格分隔的字符串,其中6个字段是必须的而一个是可选的,如下: 字段名 允许的值 允许的特殊字符 秒 0-59 , - * / 分 0-59 , - * / 小时 0-23 , - * / 日 1-31 , - * ? / L W C 月 1-12 or JAN-DEC , - * / 周几 ...原创 2010-05-07 14:11:30 · 84 阅读 · 0 评论 -
ehcache 缓存实例
1.先在src创建ehcache.xml配置文件 <ehcache> <diskStore path="java.io.tmpdir"/> <defaultCache maxElementsInMemory="10000" eternal="false" timeToIdleSeconds="600" t原创 2010-05-11 17:13:06 · 94 阅读 · 0 评论 -
spring3 几种事务配置方式
第一种方式: ...... 使用: @Transactional(xxxxxxx) public void insertOrder(Order order) { ...... } 这样搞的话比较方便,在想用的地方加上@Transactional 就行了 ...原创 2011-08-12 11:35:43 · 139 阅读 · 0 评论 -
spring3MVC + mybaits 整合
例子程序见附件原创 2011-08-12 14:33:47 · 75 阅读 · 0 评论 -
spring2.5 junit4.x单元测试实例
先贴上代码吧, 1.基础类,用于加载环境配置信息 package com.xxxx.xxx.oss.base; import javax.annotation.Resource; import javax.sql.DataSource; import org.junit.runner.RunWith; import org.springframework.test.contex...2010-06-18 15:09:39 · 182 阅读 · 0 评论