Kees Jongenburger wrote:
> I was more hoping te get something like http://mmapps.sourceforge.net/mmbaseconfig/

The ResourceLoader, being a ClassLoader can produce URL-objects, so I think your 
URLApplicationConfigurationReader can be used (I only browsed the javadocs a bit).

> or to generate the java classes using castor
> http://www.castor.org/
> or reading the xml's using digester
> http://jakarta.apache.org/commons/digester/

I don't know. But I may assume that those things would accept InputStreams or so.

> I think it's a bat idea to "merge" configuration on the serialisation layer.

I agree. The only thing which perhaps may be delegated to this resource-loader layer 
may be the
decision which of the resources must be loaded (if there are more with the same name), 
if there can
be only one.

> having an api also makes it possible to create multiple readers/writers for the 
> configuration,

Er, yes.

 Michiel


-- 
Michiel Meeuwissen                  mihxil'
Mediacentrum 140 H'sum                [] ()
+31 (0)35 6772979         nl_NL eo_XX en_US




Reply via email to