Synchronizing caches
If multiple JVMs (on one or more machines) perform caching, they need to communicate to keep their caches in sync. You can implement this inter-JVM communication, called remote synchronization, using RMI or JMS. RMI is easier to set up, but JMS supports failover scenarios.