What is the use of @component in spring?
Answer / Rajani Sachan
@Component is a Spring-defined stereotype annotation that can be used to denote any Spring-managed bean, whether it's a simple POJO or a more complex component. When applied to a class, the component scan mechanism in Spring will automatically register and manage the component.
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the different types of spring container?
What are modules in spring?
What is difference between spring boot and spring mvc? : Spring Boot
What companies use spring boot? : Spring Boot
What is the typical bean life cycle in spring bean factory container?
What is the ioc in spring?
What is aop? And how the aop used in spring?
Can we have more than one application context in spring?
What is the use of @springboottest?
What does a framework means?
What are the design patterns used in spring boot? : Spring Boot
How to achieve localization in spring mvc applications?