Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
We mark the servlet with @Component and @Service what is the difference between the two annotations?
Thanks in advance!
Solved! Go to Solution.
@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
View solution in original post
Views
Likes
Replies
Like