Welcome to ehcache

Ehcache is a widely used java distributed cache for general purpose caching, Java EE and light-weight containers.

It features memory and disk stores, replicate by copy and invalidate, listeners, cache loaders, cache extensions, cache exception handlers, a gzip caching servlet filter and much more ...

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

Latest News

24 December 2008: New releases of Ehcache, JMS Replication, Ehcache Server and Ehcache Standalone Server

Releases of minor bug fixes and features aimed at perfecting JMS Replication, including as used from Ehcache Server.

Download here . All documentation is here .

21 October 2008: ehcache-jgroupsreplication-0.1 released

This is the second release of JGroups replication. This release moves it to its own module. It contains some performance improvements.

JGroups Replication is it's own Maven module and downloadable distribution.

Download here . The documentation is here .

18 October 2008: Ehcache 1.6-beta1 released.

The 1.6 release is a cleanup release which sets the foundation for future development. It updates the required Java version to 1.5, removes consequently redundant libraries and removes long deprecated methods. It also makes some fine tuning to the CacheLoader API.

Finally, this release completes ehcache's long migration to a pure maven build. As part of that, JGRoups replication has been broken out into its own module.

See the changelog for complete details.

Download here . The documentation is here .

18 October 2008: ehcache-jmsreplication 0.1 released

This is the first release of JMS replication for ehcache. Thanks to Benoit Perroud for getting this going with a code contribution.

It provides:

  • replication between cache nodes using a replication topic, in accordance with ehcache's standard replication mechanism
  • pushing of data directly to cache nodes from external topic publishers, in any language. This is done by sending the data to the replication topic, where it automatically picked up by the cache subscribers.
  • a JMSCacheLoader, which sends cache load requests to a queue. Either an ehcache cluster node, or an external queue receiver can respond.

jmsreplication is it's own Maven module and downloadable distribution.

Download here . The documentation is here .

16 October 2008: ehcache-server 0.5 released

This release of the SOAP and RESTful cache serverconsolidates minor changes and improvements based on feedback from users , since the 0.1 release. The release is packaged both as a WAR for dropping into your web container of choice, and as a ready to go server with Glassfish V3 embedded.

Download here . The documentation is here .

18 August 2008: Ehcache 1.6 development underway

Ehcache-1.6 development is underway.

1.6 Goals:

  • Minimum Java version 1.5
  • minimise dependencies for core users: drop commons logging, commons collections and backport concurrent (already done in trunk and snapshot)
  • add a JMS distributed cache replicator
  • add RESTful ehcache server as secondary store, leveraging the new ehcache-server, and using partitioning (memcached feature)
  • introduce new performance strategies and secondary store categories to allow greater optimisation. The goal is to make ehcache faster than java.util.concurrent for in-process caching and as scalable as memcached for out-of-process caching.
  • group invalidation (OSCACHE feature)
  • add other oustanding feature requests

    Check trunk regularly for updates. For maven users (of which ehcache is one) a SNAPSOT repository has been added. See http://ehcache.sf.net/snapshotrepository

11 August 2008: Ehcache 1.5 Book released on Lulu.com

The new edition of the Ehcache Book has been released on Lulu.com. In particular the book covers the new RESTful and SOAP Cache Server.

It is available in downloadable PDF or print versions.

More news ...