cache4j is a simple caching framework that allows the configuration of a caching strategy at a centralized place. You can use the different cache implementations directly. However, it is preferred to use the CacheFactory for creating new caches.