On Sun, Jan 24, 2010 at 3:34 PM, fvisticot <[email protected]> wrote:
> I'm quite a new google-guice user and i do not understand why no Xml > configuration is available. > Can someone sum-up the PRO and CONS using Xml configuration with > Guice ? > For my point of view, modifying the configuration without > recompilation is an interesting feature... > > What are the external stable projects used for Guice Xml > configuration ? > An XML config wouldn't add any value, so no one has bothered to implement it, though I did implement an example XML config to demo Guice's SPI: http://code.google.com/p/google-guice/source/browse/#svn/trunk/examples/src/example/xml Also, specifying generic types in XML is tricky because the '<' and '>' chars are already taken. :-) We prefer to use properties files for external config. See Names.bindProperties(). Bob -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=en.
