adspace


Give an example of frequently used spring annotations.

Answer Posted / Anoop Kumar

Some frequently used Spring annotations include: n- @Autowired for dependency injectionn- @Service, @Repository, and @Controller for organizing application componentsn- @Component for component scanningn- @Value for accessing configuration propertiesn- @RestController for RESTful web services

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you inject java collection in spring?

518


What is lazy class?

490


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

556