Thursday, September 15, 2011

Using Ehcache in a distributed environment

In this blog I will show you how to use Ehcache to share data in a distributed environment. My suggestion is to start with a small app and get it running in a single node environment. Once the correct behavior of your app is verified, you can simply change Ehcache config to use RMI replicated caching and deploy your app to multiple nodes.

Thank you nice article. I have question on distribute cache. Do we need any other third party jars such as Terra Cotta for distributed caching. Or whatever default artifacts come from ehache are enough for distributed chaching.