I think that is fine, and IMHO, the optimal solution, ie eating our dog
food.
Just remember that Digester relies on beanutils and collections as well as
JAXP1.1, so it might be a size issue, but I doubt it.

We are really building up a value-chain in commons ;-)

Scott Sanders

----- Original Message -----
From: "SCHACHTER,MICHAEL (HP-NewJersey,ex2)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 2:10 PM
Subject: [Resources] Digester and BeanUtils dependency


> Buenos Tardes,
>
> I was thinking it'd be cool to use digester to parse the resources
> configuration
> file (attached) in conjunction with BeanUtils.
>
> This would make the java-bean like properties of any resource dynamically
> configurable according to the config file, like in Struts.
>
> Does anyone have any objections to making resources be dependant on
Digester
> and BeanUtils?  If so, I probably wouldn't have too much of a problem just
> doing straight up DOM stuff, just didn't want to re-invent the wheel, so
to
> say.
>
> Also, if necessary, I can abstract the configuration reading process so
that
> it doesn't need to read the resources-config.xml, it could read whatever
you
> implement it to.  Personally, I don't like that idea because the more
> different
> ways there are to describe a resource within a file the more difficult it
> becomes
> to understand to newcomers.  If we went this course there would be a
generic
>
> configuration reader that depends on the resources-config.xml file.
>
> I'm in the process of finishing this stuff off now, I'll check in some
> prelimary
> code now for people to look at, with the idea that it can be reverted back
> to
> it's old state through CVS if objected to.
>
>

Reply via email to