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 here: http://ehcache.org/xref-test/net/sf/ehcache/distribution/RMICacheReplicatorTest.html
The test uses five ehcache.xml files representing five CacheManagers set up to replicate using RMI.
Copyright © 2014 Software AG, Darmstadt, Germany.

Product Logo |   Feedback