Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 26593 invoked from network); 21 Jul 1999 19:05:11 -0000 Received: from dh-img-rel-1.compuserve.com (HELO hpdmraaa.compuserve.com) (149.174.206.132) by apache.org with SMTP; 21 Jul 1999 19:05:11 -0000 Received: (from mailgate@localhost) by hpdmraaa.compuserve.com (8.8.8/8.8.8/HP-REL-1.1) id PAA09090 for tomcat-dev@jakarta.apache.org; Wed, 21 Jul 1999 15:04:34 -0400 (EDT) Sender: pier@apache.org Received: from apache.org (stlgate.almaden.ibm.com [198.4.83.37]) by hpdmraaa.compuserve.com (8.8.8/8.8.8/HP-REL-1.1) with ESMTP id PAA09037 for ; Wed, 21 Jul 1999 15:04:30 -0400 (EDT) Message-ID: <3796195F.9163D3CA@apache.org> Date: Wed, 21 Jul 1999 12:02:55 -0700 From: Pierpaolo Fumagalli Reply-To: pier@apache.org Organization: Apache Software Foundation X-Mailer: Mozilla 4.61 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-dev@jakarta.apache.org Subject: Re: request for review: server/config discussion References: <3794DCB6.D7A9872E@eng.sun.com> <3794E650.D038BB6A@algroup.co.uk> <3794EE1F.A98D643B@eng.sun.com> <19990720183708.B31037@usite.net> <37953417.A2485A91@eng.sun.com> <19990720225327.A649@usite.net> <01a101bed325$aa0975f0$35a602d8@ny.agency.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Tom Clarke wrote: > > How about we get a really good JSP/Servlet engine for V1 and go for a fully > abstracted configuration architecture in V2? > > What does it really buy us, apart from a really cool design? (Don't get me > wrong a properly abstracted configuration mechanism would be great - but if > I can configure it at all that's good enough for me) > > The main issue with a basic config file strategy that I can see is that it > should be a requirement to have multiple engines in a cluster running of the > same configuration file. Weblogic does this with basic configuration files > (it has one server which provides config information to the rest I think). > The best way to go, IMVHO, is to solve the configuration design on the first version. Since configurations are the key important factor for the whole tomcat design (every single piece of what we're building relies on configurations!), I think that we better figure out a complete abstract way of configuring tomcat, and, for the first implementation, providing just the basis of it (like reading an XML file and that's it). But, when then we'll need to face other scenarios, like deriving configuration from whatever source, we'll just need to write our adapters from (for example) LDAP, from HTTP from all the diferent sources, without having to think (or care) about modifying our components... If we rely on a tree structure, something like XML, i mean, we could just imagine to have today something like: ... ... ... then we could evolve to something like ... and derive our resulting tree for webserver from a LDAP service... Or something like it... (Hope it's clear!) Pier