memcached//分布式数据缓存

来源:互联网 发布:java软件license破解 编辑:程序博客网 时间:2024/05/22 00:09
memcached//分布式数据缓存
web.xml
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath*:applicationContext*.xml,classpath*:spring-memcache.xml
</param-value>
    </context-param>
1,首先安装配置好缓存服务
2,在web程序中配置:
memcached.properties
spring-memcache.xml
applicationContext.xml
MemcachedUtils.java
实际应用就是放在Memcached中通过键值对获取,放入
原创粉丝点击