What are annotations in spring?



What are annotations in spring?..

Answer / Preeti Arora

Annotations in Spring are metadata tags that can be added to Java classes, methods, fields, and packages. They provide a simple way to declaratively configure aspects of the Spring Framework, such as bean lifecycle, dependency injection, transaction management, etc.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

How do you turn on annotation wiring?

1 Answers  


Is spring boot better than spring? : Spring Boot

1 Answers  


What is context used for?

1 Answers  


What is the flow of spring boot? : Spring Boot

1 Answers  


What is difference between lazy loading and eager loading?

1 Answers  


Why annotations are used in spring?

1 Answers  


What is meant by stereotype annotations in spring?

1 Answers  


What is thymeleaf template engine?

1 Answers  


How does a spring house work?

1 Answers  


What is a joinpoint?

1 Answers  


Can we send an object as the response of controller handler method?

1 Answers  


What is binding in spring and tell us about the @autowired annotation?

1 Answers  


Categories