10
Ehcache is a widely used java distributed cache for general purpose caching, Java EE and light-weight containers.
12
It features memory and disk stores, replicate by copy and invalidate, listeners, cache loaders, cache extensions, cache exception handlers,
13
a gzip caching servlet filter, RESTful & SOAP APIs and much {{{features.html}more}}...
15
Ehcache is available under an Apache open source {{{license.html}license}} and is actively developed, maintained and supported.
17
[images/layered_architecture.png]
22
Ehcache is now modularised. Here are some quick links to help you get what you need.
24
*----------*--------------:------------------------:
25
| <<Module>> | <<Description>> | <<Links>> |
26
*----------*--------------:------------------------:
27
| ehcache-core | Caching engine, RMI replication and Hibernate plugin | {{{http://sourceforge.net/projects/ehcache/files/}Download}} |
28
*----------*--------------:------------------------:
29
| ehcache-web | Java Servlet Container caching, gzipping filters | {{{http://sourceforge.net/projects/ehcache/files/}Download}} |
30
*----------*--------------:------------------------:
31
| ehcache-debugger | Allows tracing of distributed replication events | {{{http://sourceforge.net/projects/ehcache/files/}Download}} |
32
*----------*--------------:------------------------:
33
| ehcache-jcache | JSR107 JCACHE Implementation | {{{http://sourceforge.net/projects/ehcache/files/}Download}} |
34
*----------*--------------:------------------------:
35
| ehcache-jgroupsreplication | Replication via JGroups | {{{http://sourceforge.net/projects/ehcache/files/}Download}} |
36
*----------*--------------:------------------------:
37
| ehcache-jmsreplication | Replication via JMS | {{{http://sourceforge.net/projects/ehcache/files/}Download}} |
38
*----------*--------------:------------------------:
39
| ehcache-openjpa | Caching Plugin for OpenJPA | {{{http://sourceforge.net/projects/ehcache/files/}Download}} |
40
*----------*--------------:------------------------:
41
| ehcache-server | RESTful cache server in a war | {{{http://sourceforge.net/projects/ehcache/files/}Download}} |
42
*----------*--------------:------------------------:
47
** 18 August 2009: Ehcache joins with Terracotta
49
The Ehcache project is excited to announce Ehcache's merger with Terracotta.
51
Terracotta is committed to maintaining the Ehcache community and plans to retain availability of Ehcache as an
52
open source product under the Apache 2 license. Ehcache will remain available for download at its current location
53
at http://ehcache.sourceforge.net, in the Maven central repository, as well as at it's new home at http://ehcache.org.
55
As part of the merger, Greg Luck, the maintainer of Ehcache, will join Terracotta Inc..
57
Both the Ehcache and Terracotta communities will benefit from this merger.
59
The Ehcache community will get accelerated development of new Ehcache features which will provide a comprehensive,
60
standards-based caching solution for existing and upcoming performance challenges.
62
Terracotta community members will have a seamless, single-vendor experience with easy access to a rich and robust
63
caching solution that scales with their businesses.
65
Planned integration of the products in the near term will focus on enabling Ehcache users to easily add enterprise availability,
66
reliability and data integrity capabilities through the Terracotta Server Array.
68
See Terracotta's {{{http://www.terracotta.org/web/display/orgsite/Terracotta+Acquires+Ehcache}news announcement}} for more detail.
70
Greg Luck also has a {{{http://gregluck.com/blog/archives/2009/08/ehcache_joins_w.html}blog post}} on the merger.
73
** 27 July 2009: Ehcache Core 1.6.1 released
75
This is a production maintenance release of ehcache-1.6. Users of 1.6.0 should upgrade to 1.6.1.
77
Download {{{/download.html}here}}. All documentation is {{{http://ehcache.sourceforge.net/documentation}here}}.
78
The release is also available on Maven central.
80
There are no open core bugs at the time of release.
82
For those still wishing to use the old engine it can be turned on at runtime
83
using <<<java -Dnet.sf.ehcache.use.classic.lru=true>>>.
85
** 14 July: Ehcache-OpenJPA 0.1 released
87
An Ehcache plugin for OpenJPA has been released. It can be easily plugged in to OpenJPA to provide familiar ehcache
88
caching. Conceptually the plugin is similar to Hibernate. Persistent Object caches and Query caches are implemented.
90
Download {{{/download.html}here}}. All documentation is {{{http://ehcache.sourceforge.net/documentation/openjpa_provider.html}here}}.
92
The release is also available on Maven central.
94
Thanks to Craig Andrews for contributing this plugin.
97
** 17 June 2009: Ehcache 1.6.0 released
99
This production release of ehcache-1.6 adds bug fixes and massive performance improvements. This release contains
100
the changes mooted in February.
102
The changes removed most usages of the <<<synchronized>>> keyword from CacheManager, Cache and MemoryStore. The speed
103
improvements kick in with significant numbers of threads which is what happens in production.
104
Single-threaded performance, which is what you will see in your IDE is unchanged.
106
The improvements are:
108
* Gets 60 times faster
110
* Puts 10 times faster
112
* Removes 50 times faster
115
This version removes all dependencies. Finally It is compatible with Google App Engine.
117
For those still wishing to use the old engine it can be turned on at runtime
118
using <<<java -Dnet.sf.ehcache.use.classic.lru=true>>>.
120
Download {{{/download.html}here}}. All documentation is {{{http://ehcache.sourceforge.net/documentation}here}}.
121
The release is also available on Maven central.
123
There are no open bugs at time of release.
126
** 10 May 2009: New Ehcache Maven repo
128
The primary ehcache repo has been migrated, with all history to {{http://oss.sonatype.org}}. This change simplifies
129
deployment and provides an advanced Maven Repository Manager to ehcache users. As usual all release artifacts are
130
deployed to the central Maven repository.
131
See {{{http://gregluck.com/blog/archives/2009/05/anyone_with_a_p.html}Greg Luck's blog}} for the full details.
135
** 11 April 2009: Ehcache Server and Ehcache Web updates released
137
Ehcache Server, Standalone Server and Ehcache Web have been released to Maven Central and Sourceforge Downloads.
139
Ehcache Server adds per PUT ttls to its REST API. The Standalone Server is upgraded to build 14 of Glassfish V3 Prelude
140
Embedded which fixes all outstanding feature requests raised against it by this project. See the updated
141
{{{http://ehcache.sourceforge.net/documentation/cache_server.html}documentation}}.
143
Ehcache Web 1.6.0-beta2 contains a minor bug fix over beta1.
145
This beta release of ehcache-1.6.0 adds bug fixes and dramatic performance improvements.
147
Download {{{http://sourceforge.net/project/showfiles.php?group_id=93232}here}}. All documentation is
148
{{{http://ehcache.sourceforge.net/documentation}here}}.
150
A note on naming. With ehcache fully modularised, each module has its own release cycle which may or may not
151
correspond with the Ehcache core releases.
153
** 28 January 2009: New releases which break JCache into its own module.
155
A new release of Ehcache core, ehcache-1.6.0-beta3 and the new ehcache-jcache-1.1 break JCache functionality
156
into its own Maven module and file download. jsr107cache has been updated to 1.1.
158
The upshot of this change is that ehcache core has no third party dependencies, simplifying its use for many
159
and making it easier to add ehcache to other projects.
161
This completes the modularisation work for 1.6. The next beta will add bug fixes, performance improvements
162
and some longstanding feature requests.
164
Download {{{http://sourceforge.net/project/showfiles.php?group_id=93232}here}}. All documentation is
165
{{{http://ehcache.sourceforge.net/documentation}here}}.
169
More {{{news.html}news}}...