Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 32084 invoked from network); 16 May 2006 11:06:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 May 2006 11:06:15 -0000 Received: (qmail 24882 invoked by uid 500); 16 May 2006 11:05:52 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 24823 invoked by uid 500); 16 May 2006 11:05:52 -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 24812 invoked by uid 99); 16 May 2006 11:05:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2006 04:05:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [217.12.11.32] (HELO smtp001.mail.ukl.yahoo.com) (217.12.11.32) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 16 May 2006 04:05:49 -0700 Received: (qmail 93653 invoked from network); 16 May 2006 11:05:28 -0000 Received: from unknown (HELO ?89.144.220.221?) (reinhard?poetz@89.144.220.221 with plain) by smtp001.mail.ukl.yahoo.com with SMTP; 16 May 2006 11:05:27 -0000 Message-ID: <4469B1F5.6060902@apache.org> Date: Tue, 16 May 2006 13:05:25 +0200 From: Reinhard Poetz User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [2.2] Configuration issues References: <44696FFD.4030900@apache.org> <44699558.3060604@apache.org> <446998B8.2040107@apache.org> <44699E75.9030300@apache.org> <4469A861.8000804@apache.org> In-Reply-To: <4469A861.8000804@apache.org> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Carsten Ziegeler wrote: > Reinhard Poetz wrote: > >>>How does OSGi solve this? >> >>Since OSGi4 declarative services are supported. Think of Spring dependency >>injection but considering interface/implementation relations. You can use the >>OSGi configuratonAdmin service to change an injected component or a component's >>properties. > > Ok, but this is then configuration at runtime and not at development > time, right? Where are those values stored? I will let you know as soon as I have time to work on this again (postponed it in favor of the 2.2beta1 release) >>Additionally we have the possibility to redisgn e.g. forms and portal to use the >>OSGi whiteboard pattern[1]. Using it makes extending them very simple as it >>makes extensions very simple - you just have to provide a component that >>implements a particular interface and it is automatically added as reference to >>another component. >> > > I don't want to rewrite blocks in order to use OSGi and I think one of > our main goals for using OSGi is that this does not affect the way how I > develop blocks which means it is totally transparent. So imho we need an > OSGi-free way which works at development time. You *can* use the mechanisms I explained but you *don't have to*. If you want to benefit from from *particular* advantages that OSGi brings, you have to do something. -- Reinhard P�tz Independent Consultant, Trainer & (IT)-Coach {Software Engineering, Open Source, Web Applications, Apache Cocoon} web(log): http://www.poetz.cc -------------------------------------------------------------------- ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de