zno2

随笔分类 -  cache:ehcache

二)spring 集成 ehcache jgroups 集群
摘要:依赖 项目结构 applicationContext-Ehcache.xml ehcache.xml (详细解释请看jgroups) bean 及 服务类: PersonService.java PersonServiceImpl.java 测试类: show()运行结果: create()运行结果 阅读全文

posted @ 2016-08-05 17:50 zno2 阅读(1411) 评论(0) 推荐(0)

四)mybatis 二级缓存 ehcache 常见问题
摘要:1. java.io.NotSerializableException 解决办法:将java bean 实现序列化接口 请留意:element 的key值和value值! 阅读全文

posted @ 2016-08-05 17:50 zno2 阅读(399) 评论(0) 推荐(0)

三)mybatis 二级缓存,整合ehcache
摘要:mybatis-config.xml PersonMapper.xml 所处位置 PersonMapper.xml 中禁用单个sql语句的缓存 依赖 日志 初始化 GMS: address=pc012-44159, cluster=EH_CACHE, physical address=172.16. 阅读全文

posted @ 2016-08-05 17:50 zno2 阅读(586) 评论(0) 推荐(0)

一)如何开始 ehcache ?
摘要:官网地址 http://www.ehcache.org/ 从哪开始 http://www.ehcache.org/downloads/ 下载 Ehcache 2.10.0 .tar.gz 解压之后得到 ehcache.xml http://www.ehcache.org/ehcache.xsd ht 阅读全文

posted @ 2016-08-05 17:49 zno2 阅读(867) 评论(0) 推荐(0)

导航