Why do we use spring bean?



Why do we use spring bean?..

Answer / Ravi Kumar Ravi

A Spring Bean is an object that manages the lifecycle of a Java object and provides dependency injection. By using Spring Beans, developers can easily manage complex dependencies between objects.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

Do we need web xml in spring boot? : Spring Boot

1 Answers  


What is spring batch admin?

1 Answers  


What is jdbctemplate in spring? And how to use it?

1 Answers  


What are the various ways of using spring framework?

1 Answers  


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

0 Answers  


What is spring api?

1 Answers  


How does spring singleton work?

1 Answers  


What is init method in spring?

1 Answers  


Why spring is a lightweight framework?

1 Answers  


What is difference between @restcontroller and @controller?

1 Answers  


What is @qualifier annotation in spring?

1 Answers  


What are bean wiring and @autowired annotation?

1 Answers  


Categories