We mark the servlet with @Component and @Service what is the difference between the two annotations?
Thanks in advance!
Solved! Go to Solution.
Views
Replies
Total Likes
@Component annotation declares your java class as a component but @Service annotation declares which service interface will be refereed by component
More details : http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.html
Views
Replies
Total Likes
@Component annotation declares your java class as a component but @Service annotation declares which service interface will be refereed by component
More details : http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.html
Views
Replies
Total Likes