ols-router icon indicating copy to clipboard operation
ols-router copied to clipboard

Integrate Tomcat using Spring Boot

Open cmhodgson opened this issue 5 years ago • 2 comments

The current deployment requires an existing installation of tomcat onto which the Router can be deployed. This made sense when the tomcat java application server was shared among several other applications. However, given the current approach of a dedicated docker container with a dedicated tomcat, integrating tomcat into the Router provides a simpler deployment/installation process. Non-integrated deployment can still be supported as well. Spring Boot provides the ability to do this and we are already using the Spring framework, so it should be straightforward to do.

cmhodgson avatar Oct 10 '19 19:10 cmhodgson

@cmhodgson is this ticket still relevant? Wondering if we can close this. Thanks!

alixcote avatar Dec 29 '22 18:12 alixcote

Deploying the application using spring boot rather than tomcat is still preferable, for the same reasons as before - tomcat is a heavyweight server, takes longer to start up, is harder to debug, requires more complex configuration, etc. and none of that is needed for either router or geocoder. I believe this ticket is still relevant and should be considered for future enhancement work. Your deployment/systems team may have an opinion on this as well.

cmhodgson avatar Dec 30 '22 00:12 cmhodgson