Comment by montechr...@gmail.com:
I understand and appreciate the use of dependency injection, and, once I
get this to work, it will be very useful. An alternative would be to use
Spring, but it is too big for my needs.
However I am having problems using the library. I am having trouble where
to place everything, and get a null pointer exception when I use the
@injected interface.
Can you share a simple example with a simple interface, interface-impl,
main and a class which uses the @inject dependency?
For more information:
https://code.google.com/p/google-guice/wiki/GettingStarted
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to google-guice-dev@googlegroups.com.
To unsubscribe from this group, send email to
google-guice-dev+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en.