Sorry for joining this discussion so late, I am forced to read the maillist on gmane lateley due to mail problems at our office :-(


This is may be somewhat outdated info but the situation about two months ago was as following. There were a number of open bugs reported with JCS and several users had expressed frustration that their patches and contributions had been ignored. I think it was part of the reason at least two independent forks had been started.

One of these, EHCache is what Hibernate has been shipping successfully for a few months now. It's a *very* lightweight package compared to JCS and only provides a memory cache with disk overflow capabilities. It's licensed with an Apache 1.0 license. The issues concerning copyright owner I reported earlier have been solved. I've been using it in at least three production sites for a few months now without having any problems.

The advantage of JCS is that it boasts a lot more functionality (distributed, pluggable, etc) and of course that it is an apache project. I think a lot of issues may have been solved since I last looked because there was a surge of activity on the maillinglist some time ago and some new committers were proposed then. But I haven't personally used or tested it myself and I've not been monitoring progress since.

I think we can use either EHCache or JCS as our default cache solution. Both have their own merits. I personally tend a bit towards EHCache because I know it works well.One thing to note however is that EHCache does not persist its disk overflow beyond shutdown by design. JCS does, but that feature didn't work.

--
Unico

From: Sylvain Wallez <sylvain <at> apache.org>
Subject: Re: Release tomorrow? <http://news.gmane.org/find-root.php?message_id=%3c40A4B5A8.5010007%40apache.org%3e>
Newsgroups: gmane.text.xml.cocoon.devel <http://news.gmane.org/gmane.text.xml.cocoon.devel>
Date: Fri, 14 May 2004 14:03:52 +0200


David Crossley wrote:

We had a IRC discussion about this last FirstFriday. At the end i
searched the mail archives ...
<xley> 'grep ehcache dev <at> cocoon' shows that the discussion was
inconclusive
<xley> http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=107879126611385 <http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=107879126611385>
seems to prefer JCS store



Can someone summarize the pro and cons of both JCS and EHCache, both from a license and technical POV?


Sylvain

--
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain <http://www.apache.org/%7Esylvain>           
http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }




Reply via email to