On Wed, Dec 3, 2008 at 3:08 PM, Henning P. Schmiedehausen < [EMAIL PROTECTED]> wrote:
> Kevin Brown <[EMAIL PROTECTED]> writes: > > >> Guice modules are configuration files. Treat them like this. > > >That's absolutely true, but beside the point. There are certainly a few > >examples of unfortunate abuse (like the XStream hack), but I don't see > >anything else requiring the use of guice in the system. > > @ImplementsBy implies that Guice is around to tie the components > together. If you want to use e.g. Spring, you will have a hard time > figuring out what goes where. Even with the source code and an IDE. @ImplementedBy does nothing if you don't wire a Guice module. You'll never break the guice dependency itself because of the other annotations, though you could certainly stub them out (including ImplementedBy). It's not possible to use guice in any meaningful capacity without the @Inject annotation, so the @ImplementedBy annotation makes little difference. > > > And that is my point BTW. :-) > > Ciao > Henning > > -- > Henning P. Schmiedehausen - Palo Alto, California, U.S.A. > [EMAIL PROTECTED] "We're Germans and we use Unix. > [EMAIL PROTECTED] That's a combination of two demographic groups > known to have no sense of humour whatsoever." > -- Hanno Mueller, de.comp.os.unix.programming >

