Re: General Question about Config Files and IoC
peter royal <[email protected]> Sat, 21 Feb 2004 16:01:06 -0500
| Newsgroups | gmane.comp.java.jcontainer.interest |
|---|---|
| Message-ID | <[email protected]> |
On Feb 17, 2004, at 8:47 PM, Ryan Hoegg wrote: > - An intriguing one that's been in the back of my mind: a container > programmer who likes magic (not Leo) :) could transparently > manufacture configuration classes using XML config files, JMX, or who > knows what. Iirc, standing in for concrete classes is harder than > interfaces with the libraries people are currently using; maybe > someone more experienced than I can jump in. > - An interface feels more elegant to me... I tried to write this one > more convincingly, but I think it's just an aesthetic thing. :) This has gotten me thinking.. I have relax-ng schema's describing the configuration of all my components.. if something could be used to generate beans.. then xstream could be used to populate them! i would like to see something more "concrete" than a generic Configuration object to configure my components though. -pete
smime.p7s
(application/pkcs7-signature, 2.3 KB) - not displayed