I create REST backend for my Android app (sth similar to online shop). I decided to use Spring-Boot because this framework is easy to configure and deploy. At this moment I have entities and repositories (CrudRepository). I know that I will need also controllers or something similar. I found few examples on Github (like this - https://github.com/steve-perkins/fitnessjiffy-spring) but in these examples are often used furthermore DTOs and Services.
What do you think, if these components (DTOs and Services) are necessary? If so, why? If DTOs is a good way, maybe you know a good trick to convert Entity to DTO to avoid code duplication? What is the difference between controllers and services in Spring?
Maybe you know any other frameworks in which I could do it well and faster? What about Jersey?
I would be grateful for any examples / links.