11 July 2011: Ehcache 2.5 Beta 1 Released

The major new capability of Ehcache 2.5 is enhanced cache resource management, specifically the ability to set the maximum size in bytes of a Cache or CacheManager. This offers the following additional benefits to Ehcache users:

Join the Ehcache 2.5 beta program ›

8 July 2011: Ehcache 2.4.3 Released

Ehcache 2.4.3 adds support for Terracotta 3.5.2 and includes some minor bug fixes. Terracotta 3.5.2 contains significant bug fixes.

Download Ehcache 2.4.3 ›
Release Notes ›

23 May 2011: Terracotta Joins Software AG

Software AG today announced that it has entered into a definitive agreement to acquire Terracotta, the company behind Ehcache.

Read the press release ›
Read the blog post from Ari Zilka, Terracotta Founder and CTO ›
Read the announcement on Terracotta.org ›
Frequently asked questions ›

21 April 2011: Ehcache 2.4.2 Released

Ehcache 2.4.2 adds support for Terracotta 3.5.1 and includes some minor bug fixes. Terracotta 3.5.1 resolves incompatibilities with Hibernate and with Liferay as well as other minor issues.

Download Ehcache ›
Release Notes ›

29 March 2011: Ehcache 2.4.1 Released

Ehcache 2.4.1 is now available for general availability. It contains a number of bug fixes, performance enhancements and new capabilities including support for Terracotta 3.5.0.

Download Ehcache 2.4.1 ›
Release Notes ›

15 February 2011: Ehcache Search Released

Ehcache Search is an addition to the core Ehcache API that lets you query, search and analyze billions of cache entries in memory, with results to complex searches returned in less than a second. By querying the cache directly, you can avoid the time-consuming and expensive process of querying the database, then mapping query results to cache lookups.

View Ehcache Search documentation ›

2 February 2011: Ehcache User Survey

The results of a comprehensive survey of Ehcache users are now available in a paper entitled "Caching Use Cases in the Enterprise: What You Can Learn from Hundreds of Ehcache Users Across the Globe."

Key Findings:

  1. The overwhelming majority – 75 percent – of the survey respondents would like to implement a distributed cache to meet their expanding data and performance needs in the next 12-18 months.
  2. Using more memory – simply and effectively – is a key driver. 43 percent of respondents have servers with 32GB or more of RAM and 11 percent were over 64GB. 41 percent reported splitting up their data sets and stacking their JVMs to avoid garbage collection issues. 73 percent want to use technology such as BigMemory to remove heap size limitations.
  3. Distributed cache usage will encompass a wide range of industries and company sizes. Financial Services, Telco, Healthcare, eCommerce, Gaming and Government stand out as the most demanding in terms of performance, latency and reliability.
  4. Distributed caching prospects from the survey use a mix technology of open source and commercial stacks including Tomcat, Hibernate, Spring and Oracle Fusion.

Read the full report on terracotta.org

24 December 2010: Fremantle Beta 2 Released

Fremantle Beta 2 is now available. New in Beta 2:

Sign up to get the latest beta

24 November 2010: Fremantle Beta Released

Fremantle is the code name for the next major release of Ehcache and Enterprise Ehcache.
Notable new features include:

Sign up for the beta and try it now

9 November 2010: BigMemory for Ehcache GA

BigMemory is an add-on to Enterprise Ehcache that permits caches to use an additional type of memory store outside the object heap. This off-heap store, which is not subject to Java GC, is 100 times faster than the DiskStore and allows very large caches to be created in memory (we have tested this up to 350GB).

To download BigMemory, visit http://www.terracotta.org/dl/download-bigmemory

To find out more about how BigMemory works, visit the technical documentation

20 July 2010: Ehcache 2.2 and Enterprise Ehcache 2.2 released

Ehcache 2.2 and Enterprise Ehcache 2.2 have been released. The new capabilities in this latest version of Ehcache are focused on improving the scalability, visibility, and management of the Terracotta-backed distributed cache for Ehcache. Enterprise Ehcache 2.2 enables customers to store over a terabyte of data and hundreds of millions of entries in a single cache. Designed to be a snap-in capability, this new terabyte-scale storage option can be turned on with a simple change to the ehcache configuration file.

New in Ehcache 2.2:

New in Enterprise Ehcache 2.2:

17 May 2010: Ehcache Monitor 1.0 released

This add-on tool for Ehcache provides enterprise-class monitoring and management capabilities for use in both development and production. It is intended to help understand and tune cache usage, detect errors, and provide an easy to use access point to integrate with production management systems. It also provides administrative functionality such as the ability to forcefully remove items from caches.

Note: Ehcache Monitor is not open source. It is available free for development use but must be licensed for production use. A production license is provided as part of the commercial versions of Ehcache, either DX, EX or FX.

Simply install the Monitor on an Operations server, add the Monitor Probe jar to your app, add a few lines of config in ehcache.xml and your done.

See the documentation for Ehcache Monitor, including a usage video from Ehcache founder Greg Luck, or download here.

17 May 2010: Ehcache 2.1.0 and new ehcache-nonstopcache and ehcache-unlockedreadsview betas released

Ehcache 2.1.0 rounds out Ehcache 2.0. JTA support has been added for standalone ehcache. JTA for Hibernate has been added which now means Ehcache supports all Hibernate strategies. ehcache-nonstopcache adds a new API with support for timeouts on Cache Operations and configurable actions on disconnection from a cluster. ehcache-unlockedreadsview adds support for a coherent cache to expose an unlocked view at the same time, for rapid response.

The maturity and depth of the integration between Ehcache and Terracotta server is now such that, for distributed caching, the two best way to use each technology is with each other. With that in mind Terracotta server is now distributed in the Ehcache download. Servers at dev time need to fit into the development process. Terracotta has a tc-maven-plugin that works as well and simply as the famed Jetty plugin. Instructions on its use are included in the download.

For more information on this release see Steve Harris's excellent blog article on it.

22 April 2010: Ehcache 2.1.0-beta, and new ehcache-nonstopcache and ehcache-unlockedreadsview betas released

See above.

10 April 2010: Ehcache 2.0.1 and Ehcache Web 2.0.1 released

New bug fix versions of ehcache and ehcache-web are available.

23 March 2010: Ehcache Server 1.0 released

Ehcache Server and Standalone Server have been released to Sourceforge Downloads. The server provides RESTful and SOAP APIs to Ehcache. It is available as a WAR which works with all app servers, or standalone using Glassfish V3 embedded.

New in this release is integration with Terracotta Server Array for coherent, scalable and HA caching. Also the Ehcache core has been upgraded to version 2.0, Jersey to 1.1.5, Metro to 2.1.5 and for standalone, Glassfish to V3 embedded.

This release has been performance tested against memcache and gives comparable over-the-network performance. Coupled with the simplicity of coding in your HTTP client of choice in your programming language of choice and easily getting the benefits of Terracotta Server Array backing it, this is a killer combination.

See the Ehcache Server documentation to get started or download it now.

Due to an issue with external repository handling, these have not yet been released to Maven. Sonatype are completing a project for Sun whereby they will be adding their artifacts to the Central repository. This is expected to be completed this week or next, so the Maven artifacts will be released then.

8 March 2010: Ehcache 2.0 released

Ehcache 2.0 provides a new Hibernate 3.3 SPI caching plugin, JTA, Write-Behind, a new ultra-fast Bulk Loading API for clustered caches. and dynamic runtime cache reconfiguration.

Ehcache 2.0 is fully backward compatible with earlier versions of Ehcache.

The Terracotta Server Array ("TSA") has also been re-engineered to dovetail with Ehcache to provide these features with cluster coherence, high availability and persistence.

This release also introduces some improvements to ehcache which reduce memory use (over 1.6 and 1.7) by the cache and improve the eviction algorithms.

See the changelog for complete details of ehcache-core changes.

3 February 2010: Project Darwin beta released

This is a beta release of project Darwin a.k.a Ehcache 2.0.

Ehcache 2.0 provides a new Hibernate 3.3 SPI caching plugin, JTA, Write-Behind, a new ultra-fast Bulk Loading API for clustered caches. and dynamic runtime cache reconfiguration.

Ehcache 2.0 is fully backward compatible with earlier versions of Ehcache.

The Terracotta Server Array ("TSA") has also been re-engineered to dovetail with Ehcache to provide these features with cluster coherence, high availability and persistence. Darwin betas with TSA are available here.

This release also introduces some improvements to ehcache which reduce memory use (over 1.6 and 1.7) by the cache and improve the eviction algorithms.

See the changelog for complete details of ehcache-core changes.

A GA release is expected at the beginning of March.

11 January 2010: ehcache-1.8, ehcache-core-1.7.2 and ehcache-terracotta-1.8

This is a final GA release of ehcache comprising ehcache, ehcache-core and ehcache-terracotta modules.

This release contains some bug fixes to ehcache-core, but the notable change is the upgrade of the ehcache-terracotta module to support Terracotta 3.2. Terracotta 3.2 is dramatically faster than 3.1. See the changelog for complete details of ehcache-core changes.

Note: If you experience different caching ergonomics you can enable the LinkedHashMap based engine with java -Dnet.sf.ehcache.use.classic.lru=true. This is the engine enabled up to 1.5.

22 December 2009: Ehcache OpenJPA plugin 0.2 released

Back in July we released the first plugin for OpenJPA. This version brings OpenJPA more into line with the Hibernate plugin and more fully implements the OpenJPA API. As with all of the modules we are releasing, this version adds the option, when paired with the ehcache-terracotta module of clustering via Terracotta.

See ehcache-openjpa.

15 December 2009: Ehcache Monitor Beta 2 released

We have had hundreds of people sign up for an play with beta 1 of the Ehcache Monitor. We have fixed over 15 bugs in Beta 1 and have released Beta 2. We have also created a roadmap for beta 3 which will add significant new features. See Ehcache Monitor Beta.

13 December 2009: Ehcache Web 2.0 released

Ehcache Web has been part of Ehcache for years. In this release the web caching is split into its own module. The web module provides a filter based PageCachingFilter and PageFragmentCachingFilter which can be used with any Java web framework for caching of HTML, SOAP, REST, JSON, XML and other types.

New in this release is integration with ehcache-terracotta 1.7.1 and higher, so that coherent, terabyte scale web caches can be created.

See ehcache-web.

9 December 2009: Ehcache welcomes Grails as a first-class supported framework

Grails 1.2RC1 and higher use Ehcache as the default Hibernate second level cache. However earlier versions of Grails ship with the Ehcache library and are very simple to enable.

A new Grails Chapter shows how to configure Grails to use Ehcache and how to tune it for production use.

30 November 2009: New 1.7.1 GA release - ehcache, ehcache-core and ehcache-terracotta

This is a final GA release of ehcache-1.7.1 comprising ehcache, ehcache-core and ehcache-terracotta modules.

This release contains 15 fixes and improvements over 1.7.0. See the changelog for complete details. Downloads and Maven modules are available here.

Very significantly, this release will enable new GA releases of the other ehcache modules, such as ehcache-web, which we expect to release over the next few weeks.

Note: If you experience different caching ergonomics you can enable the LinkedHashMap based engine with java -Dnet.sf.ehcache.use.classic.lru=true. This is the engine enabled up to 1.5.

21 November 2009: Greg Luck, founder of ehcache, is in the US for two months/Roadmap Updated

Greg Luck, the founder of ehcache and now part of Terracotta, is working out of the Terracotta office in San Francisco.

Please contact Greg at gluck A T terracottatech.com if you would like to schedule him for JUGs or visits.

There is plenty happening with Ehcache since the injection of Terracotta resources. See the newly updated roadmap for details.

13 October 2009: New 1.7.0 releases - ehcache, ehcache-core and the new ehcache-terracotta

This is a final release of ehcache-1.7.0 comprising ehcache, ehcache-core and ehcache-terracotta modules.

The new 1.7.0 Ehcache module now contains out-of-the-box support for Terracotta.

This release is the first fruits of the merger of Ehcache and Terracotta. It enables Ehcache to be Terracotta clustered with only a few lines of config in ehcache.xml and no application code changes. See the Terracotta Clustering Documentation for configuration and a worked example.

We anticipate a final release shortly. In the meantime please feel free to check it out and kick the tyres.

See the changelog for complete details. Downloads and Maven modules are available here.

A few more bug fixes have been picked up against the 1.6 core caching engine redesign in this release. As with the 1.6 release, if you experience unexpected behaviour you can enable the LinkedHashMap based engine with java -Dnet.sf.ehcache.use.classic.lru=true.

5 October 2009: New beta 1.7.0-beta releases - ehcache, ehcache-core and the new ehcache-terracotta

This is a beta release of ehcache-1.7.0 comprising ehcache, ehcache-core and ehcache-terracotta modules.

29 September 2009: Subversion, JIRA, Forums and Mailing List migrated to Terracotta Infrastructure

As announced at the time of acquisition, Subversion, JIRA, Forums and Mailing List have now been migrated to Terracotta Infrastructure. Please check the site links for the latest correct URLs.

File and Maven released will be made to SourceForge and Sonatype/Central for a fortcoming 1.7 release.

23 August 2009: Ehcache Core 1.6.2 released

This is a production maintenance release of ehcache-1.6. Users of 1.6 should upgrade to 1.6.2.

Download here. All documentation is here. The release is also available on Maven central. Note that Maven will report a checksum error. It is caused by a bug in Maven 2.1.0 and can be ignored.

There are no open core bugs at the time of release.

For those still wishing to use the old engine it can be turned on at runtime using java -Dnet.sf.ehcache.use.classic.lru=true.

18 August 2009: Ehcache joins with Terracotta

The Ehcache project is excited to announce Ehcache's merger with Terracotta.

Terracotta is committed to maintaining the Ehcache community and plans to retain availability of Ehcache as an open source product under the Apache 2 license. Ehcache will remain available for download at its current location at http://ehcache.org, in the Maven central repository, as well as at it's new home at http://ehcache.org.

As part of the merger, Greg Luck, the maintainer of Ehcache, will join Terracotta Inc..

Both the Ehcache and Terracotta communities will benefit from this merger.

The Ehcache community will get accelerated development of new Ehcache features which will provide a comprehensive, standards-based caching solution for existing and upcoming performance challenges.

Terracotta community members will have a seamless, single-vendor experience with easy access to a rich and robust caching solution that scales with their businesses.

Planned integration of the products in the near term will focus on enabling Ehcache users to easily add enterprise availability, reliability and data integrity capabilities through the Terracotta Server Array.

See Terracotta's news announcement for more detail.

Greg Luck also has a blog post on the merger.

14 July: Ehcache-OpenJPA 0.1 released

An Ehcache plugin for OpenJPA has been released. It can be easily plugged in to OpenJPA to provide familiar ehcache caching. Conceptually the plugin is similar to Hibernate. Persistent Object caches and Query caches are implemented.

Download here. All documentation is here.

The release is also available on Maven central.

Thanks to Craig Andrews for contributing this plugin.

17 June 2009: Ehcache 1.6.0 released

This production release of ehcache-1.6 adds bug fixes and massive performance improvements. This release contains the changes mooted in February.

The changes made remove used of the synchronized keyword from CacheManager, Cache and MemoryStore. The speed improvements kick in with significant numbers of threads which is what happens in production. Single-threaded performance, which is what you will see in your IDE is unchanged.

The improvements are:

16 June 2009: Ehcache is now compatible with Google App Engine

The shipping Ehcache-1.6.0 will be compatible with Google App Engine.

The fixes are now in the snapshots.

See the extensive Google App Engine HowTo for configuration, recipes and more.

12 June 2009: Ehcache 1.6.0-rc1 released

The first release candidate of the ehcache-1.6, with its new higher performance engine. This version has benefited from production use of beta5. At date of release there are no open bugs.

This release uses the sl4j logging facade. Plug in your own logger.

For those wishing to use the old engine it can be turned on at runtime using java -Dnet.sf.ehcache.use.classic.lru=true.

Download here. All documentation is here. The release is also available on Maven central.

10 May 2009: Ehcache 1.6 core beta 5 released

This beta release of ehcache-1.6 adds bug fixes and massive performance improvements. This release contains the changes mooted in February.

The changes made remove used of the synchronized keyword from CacheManager, Cache and MemoryStore. The speed improvements kick in with significant numbers of threads which is what happens in production. Single-threaded performance, which is what you will see in your IDE is unchanged.

The improvements are:

10 May 2009: New Ehcache Maven repo

The primary Ehcache repo has been migrated, with all history to http://oss.sonatype.org. This change simplifies deployment and provides an advanced Maven Repository Manager to Ehcache users. As usual all release artifacts are deployed to the central Maven repository. See Greg Luck's blog for the full details.

20 April 2009: Ehcache 1.6-beta4 withdrawn

Ehcache 1.6-beta4 has been marked as inactive on SourceForge. In extensive testing last week a very rare concurrency issue was found in the new high-performance threading code. A specific test has been created which reliably reproduces the issue. Will re-release once this as fixed under beta5.

11 April 2009: Ehcache Server and Ehcache Web updates released

Ehcache Server, Standalone Server and Ehcache Web have been released to Maven Central and Sourceforge Downloads.

Ehcache Server adds per PUT ttls to its REST API. The Standalone Server is upgraded to build 14 of Glassfish V3 Prelude Embedded which fixes all outstanding feature requests raised against it by this project. See the updated documentation.

Ehcache Web 1.6.0-beta2 contains a minor bug fix over beta1.

This beta release of ehcache-1.6.0 adds bug fixes and dramatic performance improvements.

Download here. All documentation is here.

A note on naming. With Ehcache fully modularised, each module has its own release cycle which may or may not correspond with the Ehcache core releases.

7 April 2009: Ehcache 1.6.0-beta4 released

This beta release of ehcache-1.6.0 adds bug fixes and dramatic performance improvements.

Please DO NOT use this version in production. It is beta and contains significant changes to threading.

Download here. All documentation is here.

23 February 2009: Exciting News! Ehcache Core two orders of magnitude faster

With all of the focus on new replication schemes and Cache Server, the core has been pretty stable for a while. The forthcoming 1.6.0-beta4 shows off Gets that are 92 times faster than Ehcache 1.5. See Greg Luck's Blog for some amazing charts.

28 January 2009: New releases which break JCache into its own module.

A new release of Ehcache core, ehcache-1.6.0-beta3 and the new ehcache-jcache-1.1 break JCache functionality into its own Maven module and file download. jsr107cache has been updated to 1.1.

The upshot of this change is that Ehcache core has no third party dependencies, simplifying its use for many and making it easier to add Ehcache to other projects.

This completes the modularisation work for 1.6. The next beta will add bug fixes, performance improvements and some longstanding feature requests.

Download here. All documentation is here.

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:

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:

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.

17 July 2008: ehcache-standalone-server 0.1 released

The standalone server provides a ready to go cache server out of the box, using the WAR from the ehcache-server module. Unix-based and Windows servers are supported.

Start it with java -jar ../lib/ehcache-standalone-server-0.1.jar 8080 ../war or the jsvc wrapper with daemon.sh start.

12 July 2008: ehcache-server-0.1 released

This is the first version of an Ehcache W3C Web Services server, packaged as a WAR. This version is made available for testing. See the documentation.

Two APIs are supported: A soap API specified in EhcacheWebServiceEndpointService.wsdl and a RESTful, resource oriented API. This release provides a feature-complete soap API. The RESTful API is not yet feature complete.

12 July 2008: ehcache-1.5.0 released

Ehcache 1.5.0 provides a couple of fixes to changes made in beta1. If you are testing 1.5 please use this version.

New Features

Summary of Bug Fixes

7 June 2008: ehcache-1.5.0-beta2 release

Ehcache 1.5.0-beta2 provides a couple of fixes to changes made in beta1. If you are testing 1.5 please use this version.

13 May 2008: ehcache-1.5.0-beta1 release

Ehcache 1.5.0-beta1 provides a host of new features and a few bug fixes. (See the ehcache-1.5.0 final release news item).

1 March 2008: Ehcache is SourceForge project of the month

Ehcache has been honoured as the February 2008 SourceForge project of the month. See http://sourceforge.net/community/index.php/potm-200802/.

21 February 2008: ehcache-1.4.1 maintenance release

The version of Ehcache is a minor maintenance release. The main reason for the release was to include ehcache-failsafe.xml which was omitted from the public maven repository version. See the changelog for complete details.

31 January 2008: ehcache-1.4.0 released

The final version of ehcache-1.4.0 is available on sourceforge and the Maven central repository.

This version significantly enrichens the Ehcache API and enhances extension of ehcache. The new features are:

1 January 2008: ehcache-1.4-beta2 released

The beta 2 version of ehcache-1.4 is available on sourceforge and the Maven central repository.

The second beta release fixes 10 bugs, most of them in the new features being introduced in 1.4.0, reported by beta testers. See the changelog for complete details.

30 November 2007: Ehcache book available

Ehcache Guide & Reference

Ehcache Guide and Reference for the forthcoming 1.4.0 release is available as a book. The price for the high quality bound edition is USD49.95 plus shipping. The price for the downloadable print-ready version is USD37.50. The book has 154 pages.

Many people have asked for a format for the documentation where it can be printed out as a book and even where they can get it. Of course, full documentation in html will always remain available online at http://ehcache.org.

Buy it from the Ehcache Storefront at Lulu Books.

26 August 2007: ehcache-1.4-beta released

The beta version of ehcache-1.4 is available on sourceforge and the Maven central repository.

This version significantly enrichens the Ehcache API and enhances extension of ehcache. The new features are:

11 June 2007: ehcache-1.3 released

The next major version of Ehcache has been released.

This version contains the following major new features over 1.2.4:

27 May 2007: ehcache-1.3 beta 3 released

This release fixes two bugs and has some minor changes to support third parties who are making extensions to ehcache. See See the changelog for details. A final release should be out in the next few weeks.

22 May 2007: Ehcache Maven repository

Ehcache has a Maven repository for releases at http://ehcache.org/repository. It is synchronized with the Maven central repository. New releases will now appear in the Maven repository without delay.

16 May 2007: JSR107 (JCACHE) News

At JavaOne, Greg Luck, the maintainer of ehcache, was appointed as co Spec Lead of JSR107, JCACHE.

The expert group has been reenergised and is making progress towards getting a spec done. Everyone is welcome to monitor technical discussion on JCACHE at the new mailing list - jsr107 AT jsr107.dev.java.net.

9 May 2007: JavaOne Talk

TS-6175 - Distributed Caching, Using the JCACHE API and ehcache, Including a Case Study was attended by around 1200 people. About 50 people had question. There was so much interest that an impromptu Q&A session was held later that day. It appears that interest in caching and Ehcache in particular remain very strong in the Java community.

4 May 2007: ehcache-1.3 beta 2 released

Ehcache-1.3-beta2 has 7 fixes over beta 1. See the changelog for details.

9 March 2007: ehcache-1.3 beta released

New features in 1.3 are:

22 February 2007: JavaOne Session.

For anyone attending JavaOne 2007 at the Moscone Centre in San Francisco, the maintainer of ehcache, Greg Luck, will be presenting a session entitled "Distributed Caching, Using the JCACHE API and ehcache, Including a Case Study". This will be a practical session covering much of the recent features added to ehcache.

2 December 2006: ehcache-1.2.4 released

This is a candidate for a maintenance release.

It contains four feature and fifteen bug fixes received in the two months since ehcache-1.2.3 was released. See the changelog for details.

Eight of the changes in this release are scalability improvements contributed by users running very large ehcache deployments. The distributed caching changes stem from a user who is using Ehcache in a multi-subnet cluster of 20 nodes.

The Caching and Gzip filters in the web package have been updated to work on Glassfish and Tomcat.

The distributed caching functionality in Ehcache is now 6 months ago.

The maintainer has now been running Ehcache distributed in production for four months without incident.

Ehcache has no open bugs or patches at the time of release.

2 September 2006: ehcache-1.2.3 released

This is a maintenance release. It contains eight feature requests and 6 bug fixes received in the two months since ehcache-1.2.2 was released. See the changelog for details.

All of the feature changes come from the suggestions of people with practical experience using ehcache-1.2. The changes are all fine tuning of the distributed caching functionality rather than large changes.

The distributed caching functionality was released four months ago. There are many production sites running this now, including that of the maintainers.

One of the more difficult aspects of getting distributed caching going is getting past network configurations that swallow multicast. A tool, ehcache-1.2.3-remote-debugger.jar is now included in the distribution so that distributed traffic can be listened in on.

The number of lines of code in Ehcache is now three times bigger than ehcache-1.0. They have increased as the features of Ehcache have increased. To complement this increase in complexity, commercial support is now available for ehcache. Contact kluck@gregluck.com for details.

1 September 2006: Ehcache three years old and going strong

Ehcache had more than 4000 downloads per month for the last three months in a row. This is up from the 1500 downloads per month it was running at for the two years before then.

The result is there is now a much larger user community who use Ehcache directly, rather than through one of the popular frameworks. This places new demands on the project but also means that most of the code paths and API are being utilised, leading to fewer undiscovered bugs and a continuing evolution of features.

17 July 2006: ehcache-1.2.2 released

This is a minor maintenance release to ehcache-1.2.1. It clears all bug reports and feature requests received since ehcache-1.2.1 was released. It also includes the fix in ehcache-1.2.0_02 to reduce memory consumption.

See the release notes and changelog for details.

16 July 2006: ehcache-1.2.0-02 released

Contains a fix to quickly hand back memory when spooling to disk. See http://gregluck.com/blog/archives/2006/07/tuning_memory_u.html for details on the effect of this change.

3 July 2006: ehcache-1.2.1 released

ehcache-1.2.1 is mostly a maintenance release of ehcache. It focuses on simplifying usage of new features and easing the migration path between ehcache-1.1 and ehcache-1.2. While ehcache-1.2 is backward compatible, some typical usage scenarios in Hibernate and Spring are not.

See the separate news item on ehcache-1.2.1RC to get the full picture. Changes above ehcache-1.2.1RC are:

Improvements

Bug fixes

3 July 2006: ehcache-1.2.0-01 released

Ehcache-1.2.0-01 is a backport of the thread hardening changes to the 1.2.0 branch. The 1.2.0 release will be supported with backports of other important fixes.

27 June 2006: Ehcache maintainer added to JSR-107 expert group

Greg Luck, the maintainer of ehcache, has been added to the JSR-107 expert group. The plan is to add a JSR-107 compatibility API to ehcache. The benefit to users is that they can switch to and from Ehcache with almost zero code cost, when using the JSR-107 API.

Enabling changes to the Ehcache codebase have been made in the ehcache-1.2.1 branch (released 3 July). Work on the compatibility API will occur in the 1.3 branch.

4 June 2006: ehcache-1.2.1RC released.

This is a release candidate for ehcache-1.2.1. There are a few very minor bug fixes in this release. The main focus is to resolve upgrade difficulties with client libraries which expect Ehcache CacheManagers to be singletons as they were in ehcache-1.1. In ehcache-1.2 any attempt to have two CacheManagers sharing the same configuration resulted in a CacheException being thrown. The check was made on diskStorePath. In ehcache-1.2.1RC multiple CacheManagers sharing the same ehcache.xml configuration is permitted.

To resolve conflicts with DiskStore paths, the second and subsequent CacheManagers create their data files in a unique subdirectory under the first CacheManager's diskStore path.

The other potential conflict is in CacheManagerPeerListeners. In the default implementation the conflict is with RMI listener ports. To resolve this conflict the second and subsequent CacheManagers use a free port to listen on.

For both, warning messages are logged encouraging clients to migrate over to their own ehcache.xml.

There are also a number of enhancements/new features as follows:

3 June 2006: Printable PDF User Guide for Ehcache available

Some people have requested a printable manual for ehcache. Please seeEhcacheUserGuide.pdf

25 April 2006: ehcache-1.2 released.

After 10 months of development, ehcache-1.2 is released. Thanks to all the developers who contributed to the release through feature requests, bug reports and patches during the beta program.

The 1.2 release of Ehcache has many new features including:

At time of release, there are no open bugs against the ehcache-1.2. 21 bugs have been fixed in this release. Most of those were raised against the 1.2 beta releases.

See the changelog for more details on this release.

20 April 2006: Development Roadmap Updated

The roadmap for new development has been updated here.

17 April 2006: ehcache-1.2rc1 released

Released ehcache-1.2rc1 to give testers a chance to test recent fixes and fine tuning before a final release.

At this point all bugs, support requests and feature requests are closed. Final testing is focusing on the distributed caching area.

8 April 2006: Elements are no longer required to be Serializable

Following many requests, Ehcache no longer requires that Elements contain Serializable keys and values. Ehcache will gracefully degrade for those operations which require Serialization.

In particular the MemoryStore and event listeners can be used with Non Serializable elements.

WARNING error messages are logged when an operation cannot be completed because the key or value is not Serializable.

28 March 2006: License changed from Apache 1.1 to Apache 2.0

The Ehcache 1.2 series from beta5 is released under the Apache 2.0 license.

26 March 2006: 1.2 beta 5 released.

This is a bug fix release which fixes all reported issues in the new 1.2 features. Developers should be testing this version.

25 March 2006: Subversion

Ehcache is now on Subversion. See the source repository page for details.

17 March 2006: New Site Redesign

Ehcache has outgrown its old web design. This new one is produced using Maven 2. Please send any feedback on the new site to the team.

14 March 2006: New Mailing List

A new mailing list, ehcache-list@lists.sourceforge.net, has been created for Ehcache users and developers. Go here to subscribe or to search the archive.

7 February 2006: Whats New in 1.2

Ehcache-1.2, currently at beta 5, has many new features:

Ehcache-1.2 is mostly backward compatible with ehcache-1.1. Ehcache-1.1 ehcache.xml configurations are compatible. There have been a few small API changes to the ehcache-1.1 API.

See the changelog for more details on the release.

8 February 2006 Announcing ehcache-1.2beta4.

This fixes most reported bugs and has fairly complete documentation.

27 January 2006 Announcing ehcache-1.2 beta 3.

New features over beta2 are:

This release also contains 5 bug fixes and increased test coverage. This version has been comprehensively tested, but has limited production use.

This will be the last pre release of ehcache-1.2 which adds major features. The focus will now shift to addressing any bugs or issues raised by those using this version. Basic documentation of the new features has been completed. Work will also continue on providing  configuration and coding examples to use  em.  Please promptly report any bugs found.

16 October 2005 Announcing ehcache-1.2 beta 2.

New features over beta1 are:

This release also contains 5 bug fixes and increased test coverage.

This version has been comprehensively tested, but has limited production use. It is recommended for development usage and testing.

28 August 2005 Announcing ehcache-1.2 beta 1.

New in this version are two new cache eviction policies: Less Frequently Used (LFU) and First In First Out (FIFO). There are also a few minor bug fixes. Thanks to Surya Suravarapu for work on these new policies.

This version of Ehcache should be backwardly compatible with Ehcache 1.1 except for a dependency on commons-collections 3.1, up from version 2.1. This version has been comprehensively tested, but has limited production use. It is recommended for development usage only.

15 August 2005 Announcing ehcache-constructs-0.6.

A subproject of ehcache, ehcache-constructs builds on top of Ehcache to create implementations for common caching patterns. All implementations use Ehcache as the backing cache. They also share a common purpose - to create very high performance Java applications. New in this version is a fault-tolerant AsynchronousCommandExecutor, which will asynchronously execute arbitrary commands, optionally retrying on a defined array of Exception types a defined number of times at a defined interval.

23 November 2004 Ehcache 1.1 released.

This version splits out the constructs package into a separate sub-project. This simplifies ehcache for those using it in Hibernate or directly. It also moves the constructs to a separate jar and release cycle. There is only 1 minor bug fix but then there was only one bug reported.

See the release notes and full changelog here.

23 November 2004 Announcing ehcache-constructs-0.5

A subproject of ehcache, ehcache-constructs builds on top of Ehcache to create implementations for common caching patterns. All implementations use Ehcache as the backing cache. They also share a common purpose - to create very high performance Java applications.

At present ehcache-constructs contains:

28 September 2004 Ehcache 1.0 released.

This is a major milestone for Ehcache - the 1.0 release. It has several bug fixes and a few important new features. They are:

See the release notes and full changelog here.

15 July 2004 Ehcache 0.9 released

This is a large release. It fixes several bugs and adds many new features including:

Blocking, self populating and self populating collections cache implementations are provided. They are useful where the cost of creating a cache entry is high, and you want to make request threads block until the first one creates the entry. While new to ehcache, the package is based on code that has been in production for almost a year, and is now ready for a wider audience.

See the release notes and full changelog here.

15 May 2004 Ehcache 0.8 released.

Changes include:

2 Jan 2004 Ehcache 0.7 released.

Bug fixes.

11 Dec 2003 EHCache is made the recommended process cache for Hibernate 2.1

8 Dec 2003 Ehcache 0.6 released.

Bug fixes.

18 Nov 2003 Ehcache 0.5 released

Now supports JDK1.2 and JDK1.3 as well as JKD1.4

13 Nov 2003 Ehcache 0.4 released.