views:

471

answers:

1

I'm a little overwhelmed reading through the ehcache user guide http://ehcache.org/EhcacheUserGuide.html#id.s20. I'm trying to figure out how to set up a simple ehcache app that has a distributed cache. I'd like to just run the app multiple times and have it share the cache between the multiple instances.

Is there an example app I can just download and run that will do that? I know that there are a variety of distributed caching mechanisms. It'd be nice to get sample apps for each, but I'd settle for just having a single sample app that used any of the distributed caching mechanisms.

A: 

i found this tutorial very helpful: http://javathink.blogspot.com/2010/03/updated-terracotta-ehcache-and-spring.html

paddydub