Configuring Undertow Filters on WildFly

Undertow filters can be used to modify some aspects of an HTTP request. They are commonly used to add or remove some settings from HTTP Headers or to compress the request. In this tutorial we will learn how to create a custom Undertow Filter. As said, out of the box Undertow provides some built-in filters … Read more

Monitoring Undertow thread pools

Finding out the runtime metrics of Undertow thread pool can be done through the JMX API. Let’s see how to do it. Undertow web server is based on XNIO. The XNIO project provides a thin abstraction layer over Java NIO. In particular it provides two core functionalities: Channel API Management of IO and Worker threads … Read more

Configuring Predicates and Exchange with Undertow

Predicates and Exchange attributes are an Undertow component which allow you to manipulate your HTTP request and even make complex decisions on it, without hardcoding this into an Undertow Handler. You can configure Predicates and Exchange attributes through a set of expression filters. The expressions you can use can also be combined with boolean operators … Read more

Develop powerful Serverside Javascript with UndertowJS

Today I’m going to write about Undertow.js which provides Server Side Javascript to WildFly application server. Nowadays many Javascript Frameworks like AngularJS and BackboneJS make it easier to create a single page web application. They structure the JavaScript code and offer a toolset of important functions to boost the development of applications. Rendering the application … Read more

Undertow Web Server tutorial

In this tutorial we will discuss about Undertow Web server which is the new Web server implementation for WildFly application server.  Undertow Web server is a fast and light Java Web server based on non-blocking IO. It consists of a few different parts: A core HTTP server that supports both blocking and non-blocking IO A Servlet … Read more

WildFly Virtual Host configuration

Virtual hosting is a mechanism whereby one web server process can serve multiple domain names, giving each domain the appearance of having its own server. In this tutorial we will show how to create and use a virtual host address for a JBoss web application. Name-based virtual hosting is created on any web server by … Read more

Developing Portlets with JBoss Portal

Please note: the JBoss Portal project is now archived and no longer maintained. As an alternative, we recommend checking alternative solutions: JSF technology Primefaces framework Develop a REST application using WildFly and AngularJS JBoss Portal is an open source platform for hosting and serving a portal’s Web interface, publishing and managing its content, and customizing … Read more