spring3.1有了缓存,还需要ehcache-spring-annotations这个插件吗?

3.1加了缓存,而且还轻易和ehcache集成。那我们还需要ehcache-spring-annotations这个东东吗?spring的@cacheable是用在controller层上,我原来用3.0时是用那个插件的,@cacheable是加在service层上。不知道我有没有理解错。请指教

猜你喜欢

转载自osacar.iteye.com/blog/1313978
今日推荐