Skip to content

Commit 411700d

Browse files
committed
Clarify use of Ehcache
Since we have a dedicated section regarding Ehcache that is only applicable to Ehcache 2.x, this commit clarifies that Ehcache 3.x is JSR-107 compliant and the JCache support should be used with it rather than attempting to configure the Ehcache 2.x support.
1 parent b4e9d91 commit 411700d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/asciidoc/integration.adoc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8175,11 +8175,11 @@ materialized by the `org.springframework.cache.Cache` and
81758175

81768176
There are <<cache-store-configuration,a few implementations>> of that abstraction
81778177
available out of the box: JDK `java.util.concurrent.ConcurrentMap` based caches,
8178-
http://ehcache.org/[EhCache], Gemfire cache,
8178+
http://ehcache.org/[Ehcache 2.x], Gemfire cache,
81798179
https://github.com/ben-manes/caffeine/wiki[Caffeine],
81808180
https://code.google.com/p/guava-libraries/wiki/CachesExplained[Guava caches] and
8181-
JSR-107 compliant caches. See <<cache-plug>> for more information on plugging in
8182-
other cache stores/providers.
8181+
JSR-107 compliant caches (e.g. Ehcache 3.x). See <<cache-plug>> for more information
8182+
on plugging in other cache stores/providers.
81838183

81848184
[IMPORTANT]
81858185
====
@@ -9089,9 +9089,11 @@ eviction contracts.
90899089

90909090

90919091
[[cache-store-configuration-ehcache]]
9092-
==== EhCache-based Cache
9092+
==== Ehcache-based Cache
90939093

9094-
The EhCache implementation is located under `org.springframework.cache.ehcache` package.
9094+
NOTE: Ehcache 3.x is fully JSR-107 compliant and no dedicated support is required for it.
9095+
9096+
The Ehcache 2.x implementation is located under `org.springframework.cache.ehcache` package.
90959097
Again, to use it, one simply needs to declare the appropriate `CacheManager`:
90969098

90979099
[source,xml,indent=0]

0 commit comments

Comments
 (0)