Yes, all you need to do is basically SpringMVC configuration, @ResponseBody annotation, and specify the produce parameter to @RequestMapping as application/json. The return value of such a method will be serialized into JSON.
Yes, you can use restful in combination with springmvc, or you can use Jersey, resteasy, etc. I wrote one some time ago, you can refer to it. https://github.com/jcalaz/xma...
Yes, the APP backend usually returns restful-style Json data, http://www.roncoo.com/article... This is the simplest RESTfull API project built using spring boot. You can refer to it.
Yes, all you need to do is basically SpringMVC configuration, @ResponseBody annotation, and specify the produce parameter to @RequestMapping as application/json. The return value of such a method will be serialized into JSON.
Yes, you can use restful in combination with springmvc, or you can use Jersey, resteasy, etc. I wrote one some time ago, you can refer to it. https://github.com/jcalaz/xma...
To add, if the interface purely returns json type data, just use restcontrol directly
Yes, the APP backend usually returns restful-style Json data, http://www.roncoo.com/article... This is the simplest RESTfull API project built using spring boot. You can refer to it.
It must be possible~ All are restful interfaces. At most, the interface developed based on spring-boot can be connected to an API gateway.