What are the different types of annotations in spring?
Answer / Divya Pandey
The Spring Framework uses several types of annotations, including: @Component (or @Controller, @Service, or @Repository for specific components), @Autowired, @PostConstruct, @PreDestroy, @Value, @Qualifier, and AspectJ annotations when using AOP.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why spring is a lightweight framework?
What is meant by stereotype annotation?
What is the scope of spring beans?
What are the different aop implementations?
What is annotation wiring and how do we turn it on?
What are inner beans?
What is the function of model attribute annotation?
What is @enableautoconfiguration in spring?
Can we have both constructor and setter injection?
What is the function of annotation @requestbody?
What is postmapping?
How a spring is formed?