In a typically web application, where my back end services and client (AngularJS) are deployed in different containers, how should i chose which controller to code in Spring Boot.
Should i use
- @Controller with @ResponseBody or
- use @RestController or
- use spring-boot-starter-jersey?
What are the pros and cons for each design choice.
Aucun commentaire:
Enregistrer un commentaire