I know this question has yet been made in the forum, but it was a very old post (dates back to 2008) and I woud like to ask it again.
Why Spring auto-detection doesn't support @Resource annotation on classes (with the same behaviour as @Component)?
After all the @Resource documentation says
and it looks pretty much like @Component.Quote:
The Resource annotation marks a resource that is needed by the application. This annotation may be applied to an application component class, or to fields or methods of the component class. [...] If the annotation is applied to the component class, the annotation declares a resource that the application will look up at runtime.