Return-Path: Delivered-To: apmail-incubator-directory-dev-archive@www.apache.org Received: (qmail 23411 invoked from network); 5 Dec 2003 17:14:27 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 5 Dec 2003 17:14:27 -0000 Received: (qmail 7333 invoked by uid 500); 5 Dec 2003 17:14:20 -0000 Delivered-To: apmail-incubator-directory-dev-archive@incubator.apache.org Received: (qmail 7293 invoked by uid 500); 5 Dec 2003 17:14:20 -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 7280 invoked from network); 5 Dec 2003 17:14:20 -0000 Received: from unknown (HELO hogshead.codehaus.org) (66.216.68.111) by daedalus.apache.org with SMTP; 5 Dec 2003 17:14:20 -0000 Received: from [192.168.1.103] (CPE00045a0b555b-CM023080004191.cpe.net.cable.rogers.com [24.102.210.93]) by hogshead.codehaus.org (8.11.6/8.11.6) with ESMTP id hB5HLTK28002 for ; Fri, 5 Dec 2003 11:21:30 -0600 Subject: Re: SPAM[RBL] Re: SystemBackend.java Picoification From: Jason van Zyl To: Apache Directory Developers List In-Reply-To: <3FD04E58.4090802@ThoughtWorks.net> References: <3FCF1D7C.60803@ThoughtWorks.net> <3FCFA79B.8010302@apache.org> <3FD04E58.4090802@ThoughtWorks.net> Content-Type: text/plain Organization: Message-Id: <1070644457.13047.288.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 05 Dec 2003 12:14:17 -0500 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Fri, 2003-12-05 at 04:22, Paul Hammant wrote: > Stephen, > > >>> > >> I like the style I have done as it reduces the jar bloat of a for > >> users of teh frameworks in question. For example, Pico users would > >> not like to see avalon-framework.jar as a requirement for using > >> directory/ldapd > > > > > > > > This is a function of the container - for example, Merlin users don't > > see avalon or merlin - they see services. > > > No sorry, I don;t understand. Could you elaborate a little. I am > talking of using a directry component directly, without container (that > Pico facilitatates) : > > class Foo { > public static void main(string[] args) { > Backend be = new PicoStyleDirectoryBackend( . . . . ); > be.doSomething(). > } > } > > I'd rather not have Avalon-framework jars in the classpath (or those > from merlin or phoenx, or loom etc). I too would like to embed Eve inside Plexus but I don't mind having other stuff on the classpath. I think you can take what I would call a metadata rich component and wrap it so that it can easily be embedded as a bean. For me this need has arisen because I'm converting Werkflow into a set of Plexus components but I realize others will want to embed it easily. For me changing things on the fly is a requirement (the current hotswap thing in pico doesn't help me) so using a container with the stuff I need allows me to use Werkflow in Plexus but allows someone who didn't require much sophistication to use it as a pico component. I'm not convinced that pico is a solution that would ever be useful for me and I don't think asking there be nothing on the class is reasonable. As long as you can use Eve, Werkflow or anything else as an embeddable bean I don't see a problem. > - Paul -- jvz. Jason van Zyl jason@zenplex.com http://tambora.zenplex.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society