Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 95705 invoked from network); 16 Apr 2007 18:27:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Apr 2007 18:27:17 -0000 Received: (qmail 93620 invoked by uid 500); 16 Apr 2007 18:27:22 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 93576 invoked by uid 500); 16 Apr 2007 18:27:22 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 93565 invoked by uid 99); 16 Apr 2007 18:27:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 11:27:22 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of enriquer9@gmail.com designates 209.85.132.242 as permitted sender) Received: from [209.85.132.242] (HELO an-out-0708.google.com) (209.85.132.242) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 11:27:15 -0700 Received: by an-out-0708.google.com with SMTP id b15so1744678ana for ; Mon, 16 Apr 2007 11:26:54 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tpJrWhuPdCKkI5lmb6dyQjKEBnnJ3075LEKvywhEAYqn0bCRTTgS/rhfZ46q8kUvvsJ+we8ikEAwG5jnWp4dkeRfEn4Cr/NHFlFAK0co9m/hUia10IWQKgDWxLj2Y9RcxEASEHPLw3x7FS6MVwihtUqMDZy38RoDNomV2GjpzIM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CNV4ib1ktgQ23D/7KicYRniCM7vqmgKKJYCYk/VClrcp91ptFJCXGAdKJcJ0AOgdkqgxukuQ/5pMSJhEzXpfySdgl39hMVAWf6mwgR6nxL65bXbQPdKL8AEbayY/OYEHS1YLjf5LFXrT3gFr54rJky1efW8fcdCr8Q5s2NFPRnE= Received: by 10.114.137.2 with SMTP id k2mr2019684wad.1176748013133; Mon, 16 Apr 2007 11:26:53 -0700 (PDT) Received: by 10.115.111.11 with HTTP; Mon, 16 Apr 2007 11:26:53 -0700 (PDT) Message-ID: <568753d90704161126v2b6697bcuea568f4c0d60a4d3@mail.gmail.com> Date: Mon, 16 Apr 2007 11:26:53 -0700 From: "Enrique Rodriguez" Reply-To: erodriguez@apache.org To: "Apache Directory Developers List" Subject: Re: Is org.apache.directory.server;core.prefs still usefull? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org On 4/13/07, Emmanuel Lecharny wrote: > ... > while working on SyntaxCheckers, I get caught in a nasty problem with the > classes of this package. The question is : do we need it? > I see no places in the server where we use or instanciate those classes, so > a blind guess is that those classes are remaining for historical reasons > (may be they were used years ago). We added Prefs support back when it looked like it might become a useful way to handle config in a JDK-standard way. The idea of having system- and user-specific config in a DIT makes a lot of sense and similar mechanisms exist in Windows and Linux. To answer your question, it would be useful if Prefs ever became widely used. At the same time that Prefs hit the JDK, there was a push to add Prefs as a standard service to the OSGi Service Platform. So, we add Prefs to the core of ApacheDS and there is a Prefs OSGi service in my sandbox, which pretty much just wraps the ApacheDS core prefs with the OSGi Prefs API. I don't think it should be part of the core. If possible it could be its own module or even rolled into the OSGi Prefs with ApacheDS as a pluggable back-end. But, going back to the fact that Prefs hasn't taken off, I also wouldn't be opposed to just removing it. Enrique