0

Lately, one junior developer asked me this question:"is there difference between using @autowired annotation and using "autowire" in spring xml configuration?"

I am not able to give him an specific answer.Please help me.

  • Possible duplicate of [Xml configuration versus Annotation based configuration](https://stackoverflow.com/questions/182393/xml-configuration-versus-annotation-based-configuration) – msp Mar 26 '18 at 15:07
  • In what context are you studying this? I'm not sure that xml configuration is worthing investing your time anymore. – Boris Treukhov Mar 26 '18 at 15:49

1 Answers1

0

No. Spring offers multiple way of wiring up components. Depending on your system build, some may offer more advantages over other.

Yserbius
  • 1,375
  • 12
  • 18