Ehcache is an easy to use, handy Java distributed cache that can be used for general purpose caching, as well as Java EE and light-weight containers.
Ehcache is a tool that features memory and disk stores, allows you to replicate by copy and invalidate, listeners, cache loaders, cache extensions, cache exception handlers, and also contains a gzip caching servlet filter and much, much more.
Here are some key features of "ehcache":
· Fast and Light Weight
· Fast
· Simple
· Small foot print
· Minimal dependencies
· Scalable
· Provides Memory and Disk stores for scalabilty into gigabytes
· Scalable to hundreds of caches
· Tuned for high concurrent load on large multi-cpu servers
· Multiple CacheManagers per virtual machine
· Complete
· Supports Object or Serializable caching
· Support cache-wide or Element-based expiry policies
· Provides LRU, LFU and FIFO cache eviction policies
· Provides Memory and Disk stores
· Distributed Caching
· Full implementation of JSR107 JCACHE API
· Standards Based
· Full implementation of JSR107 JCACHE API
· Extensible
· Listeners may be plugged in
· Peer Discovery, Replicators and Listeners may be plugged in
· Cache Extensions may be plugged in
· Cache Loaders may be plugged in
· Cache Exception Handlers may be plugged in
· Application Persistence
· Persistent disk store which stores data between VM restarts
· Flush to disk on demand
· Supports Listeners
· CacheManager listeners
· Cache event listeners
· JMX Enabled
· Distributed
· Peer Discovery
· Reliable Delivery
· Synchronous Or Asynchronous Replication
· Copy Or Invalidate Replication
· Transparent Replication
· Extensible
· Bootstrapping from Peers
· Java EE and Applied Caching
· Blocking Cache to avoid duplicate processing for concurrent operations
· SelfPopulating Cache for pull through caching of expensive operations
· Java EE Gzipping Servlet Filter
· Cacheable Commands
· Works with Hibernate
· High Quality
· High Test Coverage
· Automated Load, Limit and Performance System Tests
Requirements:
· Java 1.5 or later
What's New in This Release: [ read full changelog ]
· ehcache now becomes a composite modules which includes ehcache-core, ehcache-terracotta and may include other commonly used modules in the future like ehcache-jcache.