adspace


What is autowired in spring mvc?

Answer Posted / Mukesh Chandra Pandey

@Autowired is an annotation used in Spring MVC to automatically wire dependencies (beans) into a managed bean. This allows for inversion of control, where the container is responsible for instantiating and assembling the application's objects.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you inject java collection in spring?

518


What is lazy class?

490


What is difference between @controller and @restcontroller in spring?

556