adspace


What are the different types of annotations in spring?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lazy class?

490


How can you inject java collection in spring?

518


What is difference between @controller and @restcontroller in spring?

556