What is the use of @service annotation?



What is the use of @service annotation?..

Answer / Ram Avtar

The @Service annotation in Spring Framework indicates that a class represents a service layer. It's part of Spring's IoC (Inversion of Control) container, and when used on classes, Spring will perform dependency injection to create objects.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What is a target?

1 Answers  


List the advantages of spring framework?

1 Answers  


What is difference between oauth and oauth2?

1 Answers  


What is spring security?

1 Answers  


What is spring in java?

1 Answers  


state the advantages of auto wiring?

1 Answers  


What is advice?

1 Answers  


What is a spring bean?

1 Answers  


Does google use spring framework?

1 Answers  


What is portlet context in spring?

1 Answers  


What is @id in spring boot? : Spring Boot

1 Answers  


Can pojo have constructor?

1 Answers  


Categories