With some tweaking I managed to get one of the webapps in our current project to run using terracotta to cluster caches. The only modification I had to make was related to one of my objects not being threadsafe; actually I solved a potential concurrency problem.
Configuring Terracotta proved to be a bit more complex then I anticipated; but this might be due to my lack of Terracotta knowledge.
Here is the tc-config file I created:
[xml]
[/xml]
I’m not sure if it would be possible to specify the non-distributed-field in a more global way; without resolving to XML entities.