--- Roland Weber <[EMAIL PROTECTED]> wrote:

> Hi Sebastian,
> 
> > Agreed; $ would be better than _ or ._, so I
> propose to use it, e.g.
> > 
> > http.socket.timeout$Integer=1000
> 
> One little detail: it might be easy to prepend
> java.lang. to Integer,
> but I would still prefer a different scheme. My
...
> http.whatever.string.param=value
> http.whatever.string.param$java.lang.String=value
> 
> 
> Oleg, you mentioned that you would prefer a separate
> mapping of
> parameter names to types instead of encoding the
> type directly

A quick question: I am probably missing something, but
is it really necessary to use explicit typing in
configuration files? In many cases, one can infer the
type either via bean-style introspection (mapping
parameter name to field or method name, which has
type), or by user of the parameter specifying it with
access (getIntParameter() etc).

-+ Tatu +-


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to