Spring boot, is it safe to use Spring MVC and Jersey together

Is it safe or even possible to use Jersey and Spring MVC together through Spring boot starters? I understand that Jersey registers its own servlet (mapped to / * with the default configuration) for query processing, where as Spring MVC registers the dispatcher servlet (mapped to / by default).

Is it possible and safe to configure the Jersey servlet to process the request along the / api path, where as Spring MVC it ​​will still handle all the other requests, or it will lead to conflicts / instability or will be considered as a bad design decision

+5
source share

Source: https://habr.com/ru/post/1262076/


All Articles