Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 55711 invoked from network); 26 Feb 2003 18:42:34 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 26 Feb 2003 18:42:34 -0000 Received: (qmail 27982 invoked by uid 97); 26 Feb 2003 18:44:13 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@nagoya.betaversion.org Received: (qmail 27975 invoked from network); 26 Feb 2003 18:44:12 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 26 Feb 2003 18:44:12 -0000 Received: (qmail 30957 invoked by uid 500); 26 Feb 2003 18:37:08 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 30894 invoked from network); 26 Feb 2003 18:37:07 -0000 Received: from main.gmane.org (80.91.224.249) by daedalus.apache.org with SMTP; 26 Feb 2003 18:37:07 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18o6QI-00089E-00 for ; Wed, 26 Feb 2003 19:36:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: commons-dev@jakarta.apache.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18o6QH-00088p-00 for ; Wed, 26 Feb 2003 19:36:53 +0100 From: Costin Manolache Subject: Re: VFS and JNDI Date: Wed, 26 Feb 2003 10:23:28 -0800 Lines: 53 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@main.gmane.org User-Agent: KNode/0.7.2 Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Henri Yandell wrote: > > > On Wed, 26 Feb 2003, Costin Manolache wrote: > >> James Strachan wrote: >> >> > From: "Costin Manolache" >> > >> > It'd me nice to move the Tomcat JNDI implementation into Commons so it >> > can be a general purpose JNDI implementation for those that want/need >> > one. >> >> +1 - if someone has the time :-) >> >> It is pretty well separated - but there are few things that are specific >> to tomcat ( caching is specific to resources, etc). I started a small >> refactoring - with the goal of making it completely separate in >> jakarta-tomcat-connectrs/naming. A second goal was to make it much easier >> to write plugins. It is pretty low on the priority list for me - but if >> other people are interested I can make some time to help. > > I'm happy to work/help on this. I've another little crappy jndi project > and James has hassled me about doing the right thing and refactoring > tomcat-jndi before. The nice thing about JNDI is that the API and the provider API are as stable as it can get, and it proved to allow very low coupling. In other words - there is no need for an "all or nothing" or dependencies, it can be done step by step. I already started a refactoring in j-t-c ( I'll commit today the latest changes ), my main focus was on having some base classes that make it much easier to implement drivers. I choose Name over String because I feel it can be made more efficient and may support recycling and MessageBytes-based implementation. I think it would be nice to have another set of base classes based on Strings - duplication is good :-) One big issue is refactoring the cache - right now it is very specific to the tomcat use-case, and to the filesystem provider ( casts, etc ). Costin --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org