Related Documentation : Ehcache Replication Guide : Replicated Caching Using RMI : Complete Example
Complete Example
Ehcache's own integration tests provide complete examples of RMI-based replication.
The best example is the integration test for cache replication. You can see it online in the source code example RMICacheReplicatorIT.java at this location: https://fisheye.terracotta.org/browse/Ehcache/branches/ehcache-2.10.1/ehcache-core/src/test/java/net/sf/ehcache/distribution/
The test uses five ehcache.xml files representing five CacheManagers set up to replicate using RMI.
Copyright © 2010-2015 Software AG, Darmstadt, Germany.

Product Logo |   Feedback