Integrating EhCache3 cache provider for spring boot app. I need to decide which cache manager to use. Ideally I want to use Springs caching annotations on my caching methods such as @Cacheable instead of the jsr (@CacheResult) but for cachemanager/cache libraries I cant decide on the below
Cache library annotations Im deciding on with ehcache3 provider :
javax | ehcache | spring | Jcache?(which I thought was jsr/javax) |
---|---|---|---|
javax.cache.Cache | org.ehcache.Cache | org.springframework.cache.Cache | org.springframework.cache.Cache |
javax.cache.Cache.CacheManager | org.ehcache.CacheManager | org.springframework.cache.CacheManager | org.springframework.cache.jcache.JCacheCacheManager |
Any suggestions on which implementation? Maybe I am not to clear on what differentiates the above implementations and when to choose one over the other