What is @service annotation in spring?



What is @service annotation in spring?..

Answer / Neha Chaudhary

@Service is a Spring-defined annotation used to denote that the annotated class is a Spring service component. It's part of the Spring Framework's core annotations and is often used to indicate that the annotated class contains business logic or domain services.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What do you mean by spring batch?

1 Answers  


What is entity type mean?

1 Answers  


What are the new features in spring 5?

1 Answers  


What is aspectj used for?

1 Answers  


List some of the design patterns used in the spring framework?

1 Answers  


What is a spring configuration file?

1 Answers  


What are the bean scope types?

1 Answers  


What is the difference between rowmapper and resultsetextractor?

1 Answers  


What is embedded container in spring boot? : Spring Boot

1 Answers  


What are the advantages of dependency injection in spring?

1 Answers  


What is a spring?

1 Answers  


List the different scopes of spring bean?

1 Answers  


Categories