I have an external and not Camunda related Spring webapp, which is deployed in localhost/myProject directory on Tomcat server. Is it possible to deploy Camunda REST service and Engine in external webapp (using camunda-bpm-examples/deployment/embedded-spring-rest/ example from official Camunda repository) and make them visible from localhost/myProject/engine/ etc. path and make them share the same context with the first webapp (myProject)?
Or am I trying to achieve something odd and nonsensical?
The primary webapp is probably too complicated to change from Spring to Spring boot, but maybe it will simplify the whole process?