Ehcache 2.4.2 / 2.5 Beta 1

A widely used Java distributed cache for general purpose caching, Java EE and light-weight containers.
Ehcache features memory and disk stores, replicate by copy and invalidate, cache loaders, cache extensions, cache exception handlers, listeners, a gzip caching servlet filter and much more ...

Ehcache is available under an Apache open source license and is actively developed, maintained and supported.

Main features:

  • 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
  • Flexible:
  • 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
  • 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:
  • Support for replication via RMI or JGroups
  • Peer Discovery
  • Reliable Delivery
  • Synchronous Or Asynchronous Replication
  • Copy Or Invalidate Replication
  • Transparent Replication
  • Extensible
  • Bootstrapping from Peers
  • Cache Server:
  • #RESTful cache server
  • #SOAP cache server
  • #comes as a WAR or as a complete server
  • 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
  • Production tested
  • Fully documented
  • Trusted by Popular Frameworks
  • Conservative Commit policy
  • Full public information on the history of every bug
  • Responsiveness to serious bugs
  • Open Source Licensing:
  • Apache 2.0 license

last updated on:
July 12th, 2011, 8:11 GMT
license type:
The Apache License 2.0 
developed by:
Greg Luck
ROOT \ System \ Clustering and Distributed Networks
Download Button

In a hurry? Add it to your Download Basket!

user rating



Rate it!
What's New in version 2.5 Beta 1
  • Ease of use. Tuning cache sizes is now as simple as setting the maximum number of bytes. No more setting maximum entry counts and juggling eviction parameters to approximate the maximum amount of system memory your cache can use.
  • Greater efficiency. Ehcache now efficiently manages caches based on their memory footprint and can dynamically balance their resource use based on runtime size information.
read full changelog

Add your review!