摘要: 常用的缓存工具有ehcache、memcache和redis,这里介绍spring中ehcache的配置。 1.在pom添加依赖: 2.在applicationContext.xml添加命名空间: 3.在applicationContext.xml中配置ehcache: 4.创建ehcache的配置 阅读全文
posted @ 2017-03-23 16:19 大象踢足球 阅读(682) 评论(0) 推荐(0) 编辑