Open cmhodgson opened 4 years ago
@cmhodgson is this ticket still relevant? Wondering if we can close this. Thanks!
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.
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.