What is getbean in spring?



What is getbean in spring?..

Answer / Akash Jha

getBean() is a method provided by the ApplicationContext and BeanFactory interfaces in Spring Framework. It is used to retrieve an object of a specific bean type from the Spring container.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What is persistence context in spring?

1 Answers  


Is spring mvc a design pattern?

1 Answers  


What exactly is spring boot? : Spring Boot

1 Answers  


What does transactional work mean?

1 Answers  


Why is dao used?

1 Answers  


Why should I use spring?

1 Answers  


What is microservice in spring?

1 Answers  


What is weaving in spring aop?

1 Answers  


What is application context in spring?

1 Answers  


What are the modules in spring?

1 Answers  


When should you use a singleton?

1 Answers  


What is difference between singleton and prototype bean?

1 Answers  


Categories