1. Different jar packages, autowired is the resource in spring is the JSR-250 specification definition annotation
2. Automatic assembly can be selected when the parameters are different, the specific can see its interface
Resource There are these several configurable , I can only read the name and type, meaning is assembled by name, assembled by type.
The default installation name is assembled. When a bean matching the name cannot be found, it is assembled by type.
If the Name property is specified once, it will only be assembled by name.
If type is specified, an exception is thrown when an assembly is typed, no more than one bean is found, or multiple beans are found
Autowired: default by Type assembly, interface with only one required, by default must require the dependent object must exist, if you want to allow null value, you can set its Required property to false.
Main references for Blogs
http://blog.csdn.net/cycbest/article/details/8015498
Http://www.cnblogs.com/leiOOlei/p/3713779.html
Finally, found that their ability is limited, there may be errors in the essay, ask the Great God to criticize
Differences between autowired annotations and resource annotations in spring