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 |
What is requestbody?
What is the difference between spring singleton bean scope and singleton design pattern?
What is @entity annotation in spring?
What is the bean factory in spring?
Why do we use @override annotation?
How configuration metadata is provided to the spring container?
What's the difference between spring and spring boot? : Spring Boot
What is core spring?
What is annotationconfigwebapplicationcontext?
What are the various ways of using spring?
What is the main use of spring framework in java?
What companies use spring boot? : Spring Boot