When singleton beans are created in spring?



When singleton beans are created in spring?..

Answer / Tanya Gautam

In Spring Framework, Singleton beans are created once during the Spring container initialization and reused throughout the application's lifetime.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

How to integrate spring and hibernate using hibernatedaosupport?

1 Answers  


What is @springbootapplication in spring boot? : Spring Boot

1 Answers  


What is a spring transaction?

1 Answers  


What is defer offscreen images?

1 Answers  


What does autowired mean?

1 Answers  


Why spring is loosely coupled?

1 Answers  


What is difference between @controller and @restcontroller?

1 Answers  


What is the @bean annotation?

1 Answers  


What is the use of @required annotation?

1 Answers  


What do you mean by dependency injection?

1 Answers  


Why do we need view resolver in spring mvc and what is an internal view resolver in spring?

1 Answers  


What is the use of spring data jpa?

1 Answers  


Categories