Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 45909 invoked from network); 23 Nov 2005 21:38:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Nov 2005 21:38:09 -0000 Received: (qmail 87502 invoked by uid 500); 23 Nov 2005 21:38:05 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 87320 invoked by uid 500); 23 Nov 2005 21:38:04 -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 87013 invoked by uid 99); 23 Nov 2005 21:38:03 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2005 13:38:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of sbailliez@gmail.com designates 64.233.162.207 as permitted sender) Received: from [64.233.162.207] (HELO zproxy.gmail.com) (64.233.162.207) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Nov 2005 13:39:35 -0800 Received: by zproxy.gmail.com with SMTP id l1so288926nzf for ; Wed, 23 Nov 2005 13:37:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:content-type:content-transfer-encoding; b=iE5vkLLBL31gTJzHAwhPxPClGMgrEQ3BYweNypCa7u9qogFl9lPofm0cuGVW9kEzAkpmRCM63k5AeHjDq4HUWcECoQo7OpO9oq554HV1X+aj1TOKu6n1ULW0g7vUTKYBb6VuFd7G2s7/I73ywez/RqTUh9WpSOdSInlUSZAT2sI= Received: by 10.65.243.18 with SMTP id v18mr6619008qbr; Wed, 23 Nov 2005 13:37:41 -0800 (PST) Received: from ?192.168.2.101? ( [82.216.240.176]) by mx.gmail.com with ESMTP id a29sm177216qbd.2005.11.23.13.37.38; Wed, 23 Nov 2005 13:37:41 -0800 (PST) Message-ID: <4384E0BE.1030001@gmail.com> Date: Wed, 23 Nov 2005 22:35:58 +0100 From: Stephane Bailliez User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@directory.apache.org Subject: ADS Configuration in Geronimo 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 FYI, Jeff Genender committed under the Geronimo Directory module an example of a XSD[1] to configure ADS. It's actually quite nice and readable as you can see in the example [2] Jeff would certainly welcome any feedback. These Geronimo people also sold me on xbeans[3] (no relation to xmlbeans used in the Geronimo code) that they favor on Spring configuration file. A Spring configuration is normally quite unreadable very quickly, so what some people were doing is write their own XML (XSD) and transform it via XSL at loading time to feed Spring XML bean factory. This is for example what was doing ActiveMQ (at least in < 3.1). XBeans is apparently doing that except that it avoids you to write the xsl Apparently XBeans will also have native osgi support. [1] http://svn.apache.org/repos/asf/geronimo/trunk/modules/directory/src/schema/directory.xsd [2] http://svn.apache.org/repos/asf/geronimo/trunk/modules/directory/src/var/directory.xml [3] http://www.xbeans.org/