Frage im Vorstellungsgespräch bei Infosys

What is difference between @Component and @Service?

Antwort im Vorstellungsgespräch

Anonym

10. Juli 2024

@Component is class level annotation and it makes a Java class as a bean. @Service is also a class level annotation and it defines the class has implemented business logics in it.

2