You can use both Sleepycat's CacheLoader and FileCacheLoader. The former uses 1 file, the latter 1 dir/node and 1 file/attributes.
I will roll out JBossCache 1.1 containing this feature in 1-2 weeks' time.
does the current version say 1.01 store the state though, cause when i restart the application I get the same structure in the cache and was wondering where is it pick that up from .
No, it doesn't. You pick up the data because you have another node running.