Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 35354 invoked from network); 17 May 2004 14:02:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 May 2004 14:02:12 -0000 Received: (qmail 41937 invoked by uid 500); 17 May 2004 14:00:34 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 41739 invoked by uid 500); 17 May 2004 14:00:33 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 41630 invoked by uid 98); 17 May 2004 14:00:32 -0000 Received: from u.cei@cbim.it by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(212.131.130.82):. Processed in 0.274081 secs); 17 May 2004 14:00:31 -0000 X-Qmail-Scanner-Mail-From: u.cei@cbim.it via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(212.131.130.82):. Processed in 0.274081 secs) Received: from unknown (HELO mail.cbim.it) (212.131.130.82) by hermes.apache.org with SMTP; 17 May 2004 14:00:30 -0000 Received: from cuprouter.cbim.it (cuprouter.cbim.it [192.168.4.10]) by mail.cbim.it (8.11.6/8.11.0) with ESMTP id i4HEVGC03509 for ; Mon, 17 May 2004 16:31:16 +0200 Received: from cbim.it (caterina.cbim.it [192.168.4.42]) by cuprouter.cbim.it (8.9.3/8.9.3) with ESMTP id QAA10263 for ; Mon, 17 May 2004 16:02:01 +0200 Message-ID: <40A8C570.8010007@cbim.it> Date: Mon, 17 May 2004 16:00:16 +0200 From: Ugo Cei Organization: C.B.I.M. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Revert JCS, Re: XSP not working in CVS head? References: <40A8C198.3050608@cbim.it> In-Reply-To: <40A8C198.3050608@cbim.it> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Ugo Cei wrote: > Carsten Ziegeler wrote: > >> Now, the big question: does this work with EHCache? > The documentation seems to imply that serializability is necessary only > for objects spooled to disk, but from looking at the source, I was I've checked and unfortunately, you can only add a net.sf.ehcache.Element to a cache, and all the constructors for Element take a Serializable as the type for the "value" parameter, so we're out of luck unless we modify EHCache (shouldn't be too much work, but we should ask the EHCache developers before doing a fork). Ugo