On Thu, Sep 11, 2008 at 5:28 PM, Pyrolistical <[EMAIL PROTECTED]> wrote:

> I have watched that, and I don't see why DI by hand is any worst than
> Guice.  Its solves all your main problems with testability.
>

If you write factories by hand, you end up writing and maintaining a lot of
boilerplate code.


> The ClientFactory in your DI by hand example is very similar to a
> Provider in a Module for the Injector.
>

That's why you should only use custom providers in special cases. If you
hand code providers everywhere, you won't leave Guice much to do.

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to