jeudi 9 avril 2015

Design considerations while choosing type of spring controller [on hold]

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



  1. @Controller with @ResponseBody or

  2. use @RestController or

  3. use spring-boot-starter-jersey?


What are the pros and cons for each design choice.


Aucun commentaire:

Enregistrer un commentaire