0

Is it necessary to use Annotations in Spring? Why and waht is besic purpose behind this use?

1 Answers1

0

it is not rule to use annotations,we can use xml configuration files to inject dependencies and to define beans,but if you don't know how to write xml it is burden on developer to define xml.so,for them annotations is convenient

PAVAN
  • 16
  • 1