was reading another post and an idea came up. The driver I’m developing listens for HTTP connections. At the moment I’m embedding the Jetty server.
However it would also make sense to just add a servlet to the Tomcat server that Ignition runs on.
Is it possible to deploy a servlet programatically?
Could this have any negative impact on the performance of the Ignition server?
The current approach of using a separate server means that the module runs quite separate with little risk of affecting the Tomcat thread pool, and other pooled resources. However, it means more jars and more thread pools need to be allocated… Also, I’d expect Tomcat would manage separate servlets well, each with a separate sandbox…
Any thoughts on the matter are appreciated.