Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 23894 invoked from network); 29 May 2006 18:36:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 May 2006 18:36:49 -0000 Received: (qmail 57069 invoked by uid 500); 29 May 2006 18:36:47 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 56551 invoked by uid 500); 29 May 2006 18:36:45 -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 56539 invoked by uid 99); 29 May 2006 18:36:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 11:36:45 -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) Received: from [130.237.222.115] (HELO smtp.nada.kth.se) (130.237.222.115) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 May 2006 11:36:45 -0700 X-Authentication-Info: The sender was authenticated as danielf using PLAIN at smtp.nada.kth.se Received: from [85.226.147.125] (c-7d93e255.188-1-64736c14.cust.bredbandsbolaget.se [85.226.147.125]) (authenticated bits=0) by smtp.nada.kth.se (8.12.11.20060308/8.12.11) with ESMTP id k4TIaN00028467 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 29 May 2006 20:36:23 +0200 (MEST) Message-ID: <447B3F2A.7060804@nada.kth.se> Date: Mon, 29 May 2006 20:36:26 +0200 From: Daniel Fagerstrom User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Spring - conf/applicationContext.xml | global bean definitions References: <44758B98.2070307@apache.org> <4475F5D8.6010508@apache.org> <447ACD3A.8050106@apache.org> In-Reply-To: <447ACD3A.8050106@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Reinhard Poetz skrev: > Carsten Ziegeler wrote: > >> It's already there :) In the webapp under samples/spring. The last time >> I checked it (some weeks ago) it worked using: >> http://localhost:8888/samples/spring. > > Thanks, I found the samples and they still work :-) > - o - > > I'm not perfectly happy with having the Spring configuration in > "conf/applicationContext.xml" which is relative to the sitemap it > belongs to. What about having applicationContext.xml in the same > directory as the sitemap as default? > > Anyway, I'm not sure if I want to have Spring components at sitemap > level at all (at least in my applications). I would prefer having some > global mechanism, similar to WEB-INF/xconf for Spring beans. We could > introduce something like WEB-INF/spring/ into which you can put as many > bean definition files as you want. > > Thinking further, Spring configurations could be placed in > META-INF/legacy/spring for a particular block. Daniel, any objections > from a Cocoon 3 POV? I don't see any problems with that, it seem to be rather close to what we already do in the OSGi - Spring/ECM bridge. Why do you use "legacy" in the path? /Daniel