FYI, on tomcat-dev we agreed ( AFAIK ) to use JNDI as the configuration storage API, with jndi providers for the current data source ( server.xml, jk.properties, etc ).
We'll continue to use a 2-layer config, jndi is just for storage - normal ant-like reflection/introspection will be used to configure most components. Costin Stephen Colebourne wrote: > There's quite a bit of code here that could be useful. I tried to have a > look at the [configuration] project in commons sandbox to compare, but > didn't have the time to do it properly. I suggest you might like to > produce a compare and constrast list for your version versus the current > commons sandbox version. > > I should also point out that my own philosophy is not to use configuration > like this. I choose to use resources for all configuration, even if its > not locale specific. That way the program can become localised quickly if > needed later. (I have my own framework for resources that allows XML > resource files and classes that get the locale passed to them so they can > do database lookups for example) > > Stephen > > PS. Your beans package is similar to my www.joda.org package, you might > want to take a look. > > ----- Original Message ----- > From: "Eric Daugherty" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, September 21, 2002 12:21 AM > Subject: [configuration] > > >> I came across the configuration project today. I have written my own >> open source library that includes a configuration framework that is >> fairly similar to the new 1.4 prefs package. (I wrote it before the 1.4 >> package was released, or at least before I knew about the new package). >> Since I wrote it without before looking at the prefs package, they are >> more similar in concept than in actual API. >> >> My entire library is available at >> http://ericdaugherty.com/java/daughertylib/index.html. >> >> I would be happy to contribute any and all of the code in this library >> to the configuration package. Also, I would be willing assist in the >> development and/or maintenance of the package, if there is interest. >> >> Eric Daugherty >> http://www.ericdaugherty.com/java >> >> -- Costin -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
