Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 50220 invoked from network); 26 Mar 2008 12:48:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2008 12:48:22 -0000 Received: (qmail 86715 invoked by uid 500); 26 Mar 2008 12:48:20 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 86644 invoked by uid 500); 26 Mar 2008 12:48:19 -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 List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 86633 invoked by uid 99); 26 Mar 2008 12:48:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2008 05:48:19 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.128.96.105] (HELO mail.bortnet.com) (209.128.96.105) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2008 12:47:39 +0000 Received: from [192.168.2.3] (unknown [12.191.234.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bortnet.com (Postfix) with ESMTP id 576FB30D44F for ; Wed, 26 Mar 2008 04:43:39 -0800 (PST) Message-ID: <47EA45FC.4090407@dslextreme.com> Date: Wed, 26 Mar 2008 05:47:56 -0700 From: Ralph Goers Reply-To: rgoers@apache.org User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: JNet integration References: <47E509B2.7050003@tuffmail.com> <47E50A75.8090001@apache.org> <47E51B61.2050701@tuffmail.com> <47E7F20D.3020308@tuffmail.com> <47E8A7CE.6040508@apache.org> <47E9061C.5030105@tuffmail.com> <47E911D9.9040503@apache.org> <47E9B1CA.6050202@gmx.de> <47E9FC91.3080004@apache.org> <47EA37F4.3000206@gmx.de> <47EA3BB0.5090303@apache.org> In-Reply-To: <47EA3BB0.5090303@apache.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Carsten Ziegeler wrote: > > Hmm, I don't think so. Imagine a pipeline java api just taking a uri > for the sources used in the pipeline. That's simple and easy. > Now, you can use the source resolver on top of that, resolve your > sources and you get a uri from your source that you can put into the > pipeline api. > That's neither a mess nor does it require more java coding. > That sounds good in theory, but the proof is in when you actually try to do it with caching enabled. As I said, I'm not really too interested in the non-caching use case as I view that as the minority use case. Furthermore, the non-caching use case can always be dealt with by using the caching use case and just turning off the cache. So you build this pipeline API that only uses java.net. Now you want to build pipelines that cache. Does the Source now have to show through the caching version of the pipeline API? If it does you will have a real mess as now users of pipelines have to determine whether they are caching or non-caching just to determine what methods they can use. Ralph