When I started to use spring boot I was annotating my interface with @Repositoryall these days I was following the same, but today I happened to come across annotating with another way called @RepositoryRestResource. What is the difference between them, When is it used.