- so when you use Spring Component, for JMS, etc 
you inject your own components/classes using Guice ?


- and by manually initializing Spring,
do you mean using ApplicationContext context = new 
ClassPathXmlApplicationContext(xxx)
in a Guice module ? and then you Guice @Inject this spring 
ApplicationContext ?

- don't you need to annotate your classes with @Component, or somehow tell 
spring about the beans you want to have access to spring services ?
 and if you have a constructor with dependencies injected with Guice 
@Inject, and with no default constructor, Spring cannot instantiate your 
class,
and gives error ? or you never let Spring instantiate anything ?

Thank You

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