|
57 | 57 | <para>Note that just like other services in Spring Framework, the caching service is an abstraction (not a cache implementation) and requires
|
58 | 58 | the use of an actual storage to store the cache data - that is, the abstraction frees the developer from having to write the caching
|
59 | 59 | logic but does not provide the actual stores. There are two integrations available out of the box, for JDK <literal>java.util.concurrent.ConcurrentMap</literal>
|
60 |
| - and <link xl:href="http://ehcache.org/">Ehcache</link> - see <xref linkend="cache-plug"/> for more information on plugging in other cache stores/providers.</para> |
| 60 | + and <link xl:href="http://ehcache.org/">EhCache</link> - see <xref linkend="cache-plug"/> for more information on plugging in other cache stores/providers.</para> |
61 | 61 | </section>
|
62 | 62 |
|
63 | 63 | <section xml:id="cache-annotations">
|
@@ -558,20 +558,28 @@ public Book findBook(ISBN isbn, boolean checkWarehouse, boolean includeUsed)]]><
|
558 | 558 | </section>
|
559 | 559 |
|
560 | 560 | <section xml:id="cache-store-configuration-ehcache">
|
561 |
| - <title>Ehcache-based <interfacename>Cache</interfacename></title> |
| 561 | + <title>EhCache-based <interfacename>Cache</interfacename></title> |
562 | 562 |
|
563 |
| - <para>The Ehcache implementation is located under <literal>org.springframework.cache.ehcache</literal> package. Again, to use it, one simply needs to declare the appropriate |
| 563 | + <para>The EhCache implementation is located under <literal>org.springframework.cache.ehcache</literal> package. Again, to use it, one simply needs to declare the appropriate |
564 | 564 | <interfacename>CacheManager</interfacename>:</para>
|
565 | 565 |
|
566 | 566 | <programlisting language="xml"><![CDATA[<bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheCacheManager" p:cache-manager-ref="ehcache"/>
|
567 | 567 |
|
568 |
| -<!-- Ehcache library setup --> |
| 568 | +<!-- EhCache library setup --> |
569 | 569 | <bean id="ehcache" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean" p:config-location="ehcache.xml"/>]]></programlisting>
|
570 | 570 |
|
571 | 571 | <para>This setup bootstraps ehcache library inside Spring IoC (through bean <literal>ehcache</literal>) which is then wired into the dedicated <interfacename>CacheManager</interfacename>
|
572 | 572 | implementation. Note the entire ehcache-specific configuration is read from the resource <literal>ehcache.xml</literal>.</para>
|
573 | 573 | </section>
|
574 | 574 |
|
| 575 | + <section xml:id="cache-store-configuration-gemfire"> |
| 576 | + <title>GemFire-based <interfacename>Cache</interfacename></title> |
| 577 | + |
| 578 | + <para>GemFire is a memory-oriented/disk-backed, elastically scalable, continuously available, active (with built-in pattern-based subscription notifications), |
| 579 | + globally replicated database and provides fully-featured edge caching. For further information on how to use GemFire as a CacheManager (and more), please refer |
| 580 | + to the <link xl:href="http://static.springsource.org/spring-gemfire/docs/1.0.0.RELEASE/reference/html/">Spring GemFire reference documentation</link>.</para> |
| 581 | + </section> |
| 582 | + |
575 | 583 | <section xml:id="cache-store-configuration-noop">
|
576 | 584 | <title>Dealing with caches without a backing store</title>
|
577 | 585 |
|
|
0 commit comments