DEV Community

Discussion on: Autowiring in Spring

kriska profile image
Kristina Gocheva

What are the advantages of autowiring? Would you recommended annotation configuration against xml configuration?

eidher profile image
eidher Author • Edited

Autowiring requires less code, reduces development time, and is cleaner. XML configuration is a cumbersome and outdated form of configuration.