The cache configuration

To enable the use of annotation-based configuration, first of all, the Spring Framework has to be registered using the cache namespace. The following configuration can be used to declare the namespace for cache and register the annotation:

<beans xmlns="" 

Once the registration is done, it's time to ...

Get Learning Spring 5.0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.