commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning P. Schmiedehausen" <...@intermeta.de>
Subject Re: [configuration]Problems with XMLConfiguration
Date Thu, 09 Sep 2004 10:16:22 GMT
=?ISO-8859-1?Q?Antonio_Fiol_Bonn=EDn?= <antonio.fiol@gmail.com> writes:

Just a wild thought but to solve this problem for JNDI, we could e.g.
add a kludge to c-c which allows 

xxxx_1
xxxx_2
xxxx_3

to be folded onto a List for get("xxxx");

Maybe using something more unique than just "_" as a marker. 

	Regards
		Henning


>Maybe this belongs more to -user than to -dev, but please forgive me
>as this started here.


>> > 1.- Is it possible to have two properties at the same point? How?
> 
>> I don't think it's possible.
> 
>> > Otherwise, is there a point for getList with JNDI?
> 
>> A List could be directly stored in the repository.

>How?

>IIRC, only simple types can be configured, at least in Tomcat.

>> Parsing the keys of the "conf" subset could be a solution but it's still
>> complicated. This may be easier once we refactor the code for
>> hierarchical configurations around the version 2.0.

>Yes, or maybe adding a list of names in the configuration (as multiple
>properties in XML or a single comma-separated property in JNDI).


>> I'm not convinced [configuration] is the right tool for complex
>> configurations, I tend to prefer [digester] in these cases.

>What about JNDI and mixing configuration sources? Does [digester] support those?

>Thank you very much,


>Antonio Fiol

>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-dev-help@jakarta.apache.org

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
hps@intermeta.de        +49 9131 50 654 0   http://www.intermeta.de/

RedHat Certified Engineer -- Jakarta Turbine Development  -- hero for hire
   Linux, Java, perl, Solaris -- Consulting, Training, Development

"Fighting for one's political stand is an honorable action, but re-
 fusing to acknowledge that there might be weaknesses in one's
 position - in order to identify them so that they can be remedied -
 is a large enough problem with the Open Source movement that it
 deserves to be on this list of the top five problems."
                       -- Michelle Levesque, "Fundamental Issues with
                                    Open Source Software Development"

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message