Spring 4+ with Ehcache 3.x
Posted in IT Stuff
This post describes an example of using Ehcache with a Spring MVC application deployed on Tomcat (not using Spring boot). It is a legacy app that needs to be upgraded. The dependencies are: Application context must be updated in this way: The method must be annotated with @Cacheable so that Spring will handle the caching. As a result….