Spring + ehcache http://blog.csdn.net/hz_chenwenbiaotmb/article/details/5755450 http://blog.csdn.net/hz_chenwenbiaotmb/article/details/5755630 http://ehcache.org/documentation/recipes 有空研究一下