What are some of the important spring annotations which you have used?



What are some of the important spring annotations which you have used?..

Answer / Rochak Mehrotra

"Some important Spring annotations include @Autowired, @Component, @Service, @Repository, and @Controller. They are used for Dependency Injection (DI), component scanning, service layer, data access layer, and web layer respectively."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

Why is spring boot preferred? : Spring Boot

1 Answers  


How is a bean added to a spring application?

1 Answers  


What are the examples of standard spring events?

1 Answers  


What is spring aop used for?

1 Answers  


What is the default scope of bean in spring framework?

1 Answers  


Why spring framework is introduced?

1 Answers  


What is spring bin?

1 Answers  


What is the difference between spring and spring boot? : Spring Boot

1 Answers  


What is autowired in spring boot? : Spring Boot

1 Answers  


What is difference between oauth and oauth2?

1 Answers  


What are different modes of auto-wiring?

1 Answers  


What is the use of spring data?

1 Answers  


Categories