Return-Path: Delivered-To: apmail-incubator-directory-dev-archive@www.apache.org Received: (qmail 81178 invoked from network); 31 Aug 2004 19:32:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 31 Aug 2004 19:32:12 -0000 Received: (qmail 94314 invoked by uid 500); 31 Aug 2004 19:32:12 -0000 Delivered-To: apmail-incubator-directory-dev-archive@incubator.apache.org Received: (qmail 94260 invoked by uid 500); 31 Aug 2004 19:32:11 -0000 Mailing-List: contact directory-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Apache Directory Developers List" Reply-To: "Apache Directory Developers List" Delivered-To: mailing list directory-dev@incubator.apache.org Received: (qmail 94247 invoked by uid 99); 31 Aug 2004 19:32:11 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [209.249.229.10] (HELO ricouer.tsdinc.steitz.com) (209.249.229.10) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 31 Aug 2004 12:32:09 -0700 Received: from Lavoie.tsdinc.steitz.com ([209.249.229.4]) by ricouer.tsdinc.steitz.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 31 Aug 2004 15:32:02 -0400 Received: from [192.168.1.43] ([130.13.97.180]) by Lavoie.tsdinc.steitz.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 31 Aug 2004 15:32:00 -0400 Message-ID: <4134A816.3020707@steitz.com> Date: Tue, 31 Aug 2004 12:32:22 -0400 From: Phil Steitz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: [naming] Inquiring about status References: <1093933334.413419160e82a@postoffice.tpg.com.au> In-Reply-To: <1093933334.413419160e82a@postoffice.tpg.com.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 31 Aug 2004 19:32:00.0686 (UTC) FILETIME=[2FB864E0:01C48F91] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Brett Porter wrote: >>What about the JNDI Configurator? Shouldn't that also tie into naming? > > > I think we are talking about the reverse here. XmlConfigurator is for populating > the in memory JNDI from an XML file. I'm guessing that JNDI configurator is for > commons-configuration to populate Java beans from a JNDI tree? > > I haven't looked at commons-configuration, but there is every chance it also > loads XML config files and could be used instead. > > I think at this point it is best to see where the release takes it and let > demand drive the functionality added. > > - Brett I agree with pretty much all comments on this thread. The code has been released and has a lot of good, reusable functionality. I have not looked recently at the tomcat CVS, but up to a few months ago nothing significant had changed. I did fix a couple of small bugs in the code ported from tomcat. I agree with Brett on the XmlConfigurator and relation to commons-configuration. It is at conceivable that the reuse could go the other way as well -- i.e., we could use commons-configuration to load JNDI data from formats other than the tomcat-style XML that the XMLConfigurator supports -- but it is probably not a good idea for the dependency to go both ways. Adding direct support for properties files and improving the XMLConfigurator is proabably the best way to go. My main problem with the code as it stands is documentation and test cases (almost non-existent). Some refactoring might be in order as well. Certainly repackaging, since I don't think I got the core/factory split right. Comments/suggestions for improvement would be greatly appreciated. I now have some time to spend on this, so I will get back to it. Phil