What is the life cycle of a bean in spring?



What is the life cycle of a bean in spring?..

Answer / Rakesh Kumar Singh

The life cycle of a bean in Spring follows the following steps: 1. Creation, 2. Dependency Injection, 3. Initialization (if init-method is defined), and 4. Usage.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What is requestbody?

1 Answers  


What is the difference between spring singleton bean scope and singleton design pattern?

1 Answers  


What is @entity annotation in spring?

1 Answers  


What is the bean factory in spring?

1 Answers  


Why do we use @override annotation?

1 Answers  


How configuration metadata is provided to the spring container?

1 Answers  


What's the difference between spring and spring boot? : Spring Boot

1 Answers  


What is core spring?

1 Answers  


What is annotationconfigwebapplicationcontext?

1 Answers  


What are the various ways of using spring?

1 Answers  


What is the main use of spring framework in java?

1 Answers  


What companies use spring boot? : Spring Boot

1 Answers  


Categories