I'm confused as to a few things in Spring.
First, when would I want to use @Component over an explicit @Configuration class with a @Bean for what would have been a @Component?
The only reason I can think of for using @Component is to save myself the creation of a @Bean method in a @Configuration class. Are there other reasons?
That said, if I am using a @Configuration class it seems like I can hand code the wiring of these beans. IOW, where I did use @Inject on a @Component I can now explicitly specify dependencies in the @Bean constructor (when I create it in my bean method). So when would I want to use @Inject? I feel like I'm going down a rabbit hole here.
Are there any good tutorials or blogs that cover the best practices or rules for making these kinds of decisions?
Thanks