What is autowired in spring mvc?



What is autowired in spring mvc?..

Answer / 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

More Spring Framework Interview Questions

What are different ways to achieve spring ioc?

1 Answers  


What is spring boot dto? : Spring Boot

1 Answers  


Which is better setter or constructor injection?

1 Answers  


Is spring a j2ee?

1 Answers  


Is lazy loading enabled by default?

1 Answers  


How do you identify a weak entity?

1 Answers  


Write about the different types of listener related events?

1 Answers  


Why @autowired is used in spring?

1 Answers  


What is the difference between @component and @controller?

1 Answers  


What is difference between spring boot and spring mvc? : Spring Boot

1 Answers  


Explain the concept of dependency injection.

1 Answers  


What are the autowiring modes?

1 Answers  


Categories