Return-Path: Delivered-To: apmail-jakarta-avalon-dev-archive@jakarta.apache.org Received: (qmail 18174 invoked by uid 500); 4 Jun 2001 07:39:33 -0000 Mailing-List: contact avalon-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Avalon Development" Delivered-To: mailing list avalon-dev@jakarta.apache.org Received: (qmail 18163 invoked from network); 4 Jun 2001 07:39:33 -0000 From: "David Duddleston" To: "Avalon Development" Subject: RE: Off Topic: FSF makes peace with rest of open source world (not) Date: Mon, 4 Jun 2001 00:41:15 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-Reply-To: <3.0.6.32.20010604144142.00a1b7b0@mail.alphalink.com.au> X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N > -----Original Message----- > From: Peter Donald [mailto:donaldp@apache.org] > > hopefully there will be some more docs available soon (post ApacheCon). > Until then feel free to ask questions or point out anything you feel is > wrong ;) Cool. After taking a quick pass through the documents, I sort of have an idea of what I may need to do, but there is also allot I have not covered yet. It seems that the area of most interest to me is the ...framework.component package... the ComponentManager and ComponentSelector, along with reconfigurable. I don't have any specific questions at this points as I want to go through the documentation a little more first, but here is description of what I'm trying to do if you are interested. I will try and explain the basic component flow for one part of my application which is a data miner / search engine. First the classes, there is a URI, ConnectionHandler (protocol based), ContentHandler (MIME based) and a CookieManager. A simple flow would be, a ConnectionHandler is determined based on the URI protocol, lets say HTTP for this one. The URI is passed to the HttpConnectionHandler and the handler grabs a CookieManager and uses it to deal with any cookie related processing. Next it checks the content type and gets a ContentHandler, lets say HtmlContentHandler, and passes off the input stream to the ContentHandler... a few steps are skipped in this description but I will assume you get the idea. Now for the sake of argument, lets say I have several implementations of each for the HtmlConnectionHandler, CookieManager, and HtmlContentHandler (class/interface). Plus, I have several contexts (not shure if context is the appropriate term) that require different configurations of the component implementations to be used. Now for extra complexity, lets create a pool of HttpConnectionHandler classes that can be reused in any context. I'll put this scenario in an example. In this example the configuration in one context requires that the implementation of the org.xyz HttpConnectionHandler is used and the HttpConnectionHandler must use the org.abc implementation of the HtmlContentHandler to handle the input stream if it is HTML. When the HttpConnectionHandler is grabbed from the pool, it needs to know that the com.foo implementation of HtmlContentHandler needs to be used vs. com.xyz. As you can see, I need a framework to control the components interactions, selections and configurations. I hope this makes sense... I have a feeling it does, sense I think this is the kind of stuff Avalon was created for and you people are doing this extact thing already. Am I on the right track here? -david --------------------------------------------------------------------- To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: avalon-dev-help@jakarta.apache.org