Configuring the web server
In the new version of the application server, the JBoss Web Server engine has been replaced by a high-performance web server named Undertow, featuring the following:
- A lightweight HTTP server supporting both blocking and non-blocking IO APIs
- A Servlet 3.1-compliant implementation
- A web socket-compliant implementation
- A reverse proxy server
The Undertow configuration can be broadly split into two main topics: the core server configuration and the servlet container. We will first cover the server infrastructure and then see some important aspects of the Servlet container.
Undertow core server configuration
In terms of architecture, the Undertow web server uses the following core blocks:
- Connectors: These components are invoked when a connection is first received. They will do any work required to set up the connection and translate the incoming request into an
io.undertow.server.HttpServerExchange
object, setting up any protocol-specific information and delegating to the...