http://www.manning.com/prasanna/
Dependency Injection is a great book about DI, although it's not
dealing with Guice 3.0 the main concepts and a lot of deeper stuff are
still covered very good and have not changed anyways.

On Mon, Jul 4, 2011 at 4:31 PM, William Temperley
<[email protected]> wrote:
> In my fairly limited experience with Guice, in general you'll only
> need to talk to the injector once per application to obtain the
> class(es) that have overall control of the application.
> These classes are therefore Guice managed and the rest of the classes
> are injected or provided by Guice.  So in a main method you might do
> injector.getAppController() or something.  In Guice-servlet, the only
> time you really need the injector is in the GuiceContextListener.
>
> On 4 July 2011 15:06, ich du <[email protected]> wrote:
>> thx!
>> thats simply great - my construction didn't felt proper. is there a
>> guide/example using "provider" - as i mentioned before all examples i saw so
>> far created an injector in main method and use this instance. do i still
>> need the injector (in such cases with main method)?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "google-guice" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/google-guice/-/C0tASrhbBtEJ.
>> 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.
>>
>
> --
> 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.
>
>

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