Skip to content

Commit 4c877a6

Browse files
committed
Fix cache sample README
Closes gh-5807
1 parent b8df4d4 commit 4c877a6

File tree

1 file changed

+4
-8
lines changed
  • spring-boot-samples/spring-boot-sample-cache

1 file changed

+4
-8
lines changed

spring-boot-samples/spring-boot-sample-cache/README.adoc

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ If you want to configure your cache infrastructure via the standard, you need a
4343
implementation and the JSR-107 api. You first need to add `javax.cache:cache-api` to your
4444
project. Then you could try the following:
4545

46+
* `EhCache 3`: add `org.ehcache:ehcache`
4647
* `Hazelcast`: add `com.hazelcast:hazelcast`
4748
* `Infinispan`: add `org.infinispan:infinispan-jcache`
4849

@@ -59,14 +60,9 @@ of the library that you want to use.
5960
=== EhCache 2.x
6061
Simply add the `net.sf.ehcache:ehcache` dependency to the project. Since there is a
6162
default `ehcache.xml` configuration file at the root of the classpath, it is automatically
62-
used to configure the underlying `CacheManager`.
63-
64-
65-
66-
=== EhCache 3.x
67-
Simply add the `org.ehcache:ehcache` dependency to the project. Since there is a
68-
default `ehcache.xml` configuration file at the root of the classpath, it is automatically
69-
used to configure the underlying `CacheManager`.
63+
used to configure the underlying `CacheManager`. Note that EhCache 3 uses a different
64+
format and doesn't default to `ehcache.xml` anymore. Check
65+
http://www.ehcache.org/documentation/3.0/xml.html[the documentation] for more details.
7066

7167

7268

0 commit comments

Comments
 (0)