Book Image

Mastering JBoss Enterprise Application Platform 7

By : Francesco Marchioni, Luigi Fugaro
Book Image

Mastering JBoss Enterprise Application Platform 7

By: Francesco Marchioni, Luigi Fugaro

Overview of this book

The JBoss Enterprise Application Platform (EAP) has been one of the most popular tools for Java developers to create modular, cloud-ready, and modern applications. It has achieved a reputation for architectural excellence and technical savvy, making it a solid and efficient environment for delivering your applications. The book will first introduce application server configuration and the management instruments that can be used to control the application server. Next, the focus will shift to enterprise solutions such as clustering, load balancing, and data caching; this will be the core of the book. We will also discuss services provided by the application server, such as database connectivity and logging. We focus on real-world example configurations and how to avoid common mistakes. Finally, we will implement the knowledge gained so far in terms of Docker containers and cloud availability using RedHat's OpenShift.
Table of Contents (20 chapters)
Mastering JBoss Enterprise Application Platform 7
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface

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...