If you are using Spring 3.1, see Spring Cache abstraction. This is the easiest way to integrate caching into a Spring application. Unfortunately, Spring does not support memcached out of the box, only ehcache is supported there.
As far as I know, there is not a single provider that can store data in memcached via Spring Cache. In a few days, the next version 3.0.0 Simple Spring Memcached will be released with this support. On average, you can try one of the latest snapshots or use Simple Spring Memcached 2.0.0 directly without Spring cache abstraction.
UPDATE : Simple Spring Memcached 3.0.0 with Spring Integration with the cache is already available.
source share