Choosing an Embedded Web Server
Overview An embedded Web server is a HTTP server that can be shipped as part of your application without having to install the server separately and then deploy your application on it. The embedded Web server has a small foot print and if your application doesn't need the J2EE stack, then might be suitable for your application. These are great for use in microservices where each microservice is a small "feature/service" running in a container (like docker), each having it's own embedded server. An application would consist of multiple microservices. We considered a number of Web servers for our application. The following table lists the comparison of Tomcat vs Jetty vs Grizzly vs Undertow Tomcat Jetty Grizzly Undertow Description The Apache Tomcat ® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies. Jetty is an open-source project providing an HTTP server, ...