JBoss.org Community Documentation

8.3.1. File system based cache loaders

JBoss Cache ships with several cache loaders that utilise the file system as a data store. They all require that the <cacheloader><properties> configuration element contains a location property, which maps to a directory to be used as a persistent store. (e.g., location=/tmp/myDataStore ). Used mainly for testing and not recommended for production use.

Note that the BerkeleyDB implementation is much more efficient than the filesystem-based implementation, and provides transactional guarantees, but requires a commercial license if distributed with an application (see http://www.oracle.com/database/berkeley-db/index.html for details).