Tagged articles
3 articles
Page 1 of 1
Programmer DD
Programmer DD
Jul 16, 2020 · Backend Development

How to Integrate EhCache into Spring Boot for Faster Data Access

This article explains how Spring Boot automatically detects cache providers, shows how to replace the default ConcurrentHashMap with EhCache by adding the dependency, configuring ehcache.xml, and verifying the CacheManager type through unit tests, providing complete code examples and step‑by‑step instructions.

CacheManagerEhcacheSpring Boot
0 likes · 7 min read
How to Integrate EhCache into Spring Boot for Faster Data Access
Java Architecture Diary
Java Architecture Diary
Mar 24, 2019 · Backend Development

How to Extend Spring Cache for Multi‑Tenant Isolation and TTL

This article explains Spring's annotation‑based caching, analyzes why the default cache key collides in multi‑tenant scenarios, shows how to embed tenant identifiers into keys, and provides a custom CacheManager implementation that parses TTL from the cache name and applies it to Redis entries.

CacheManagerSpring BootSpring Cache
0 likes · 5 min read
How to Extend Spring Cache for Multi‑Tenant Isolation and TTL