If you are running your web applications on WildFly, you can configure CORS to allow cross-domain requests. In this article, we will go through the steps to configure CORS on WildFly.
jboss web server
How to set the SameSite attribute in Java Web applications
This short article describes how you can set the SameSite property in HTTP Cookies for Web applications, with special focus on WildFly‘s Web server, which is Undertow.
How to serve static content in WildFly applications?
This article presents different ways of including static content (such as image or css files) in Web applications running on top of WildFly application server.
Using the default Servlet in WildFly applications
This article will teach you how to use the default Servlet available in Undertow Web Server for some concerns, such as directory listing or static resources serving.
How to configure a custom Undertow Thread Pool
WildFly uses Undertow as Web server. In order to configure the amount of threads available in a Web application, we can define a Worker Thread from the io subsystem and use the Worker Thread for its HTTP listeners or just for single applications. In this tutorial we will learn how to do it.
How to configure Web applications request limits in WildFly
In this article you will learn which strategies you can adopt on WildFly application server to configure the maximum number of concurrent requests using either a programmatic approach (MicroProfile Fault Tolerance) or declarative one (Undertow configuration).
How to change WildFly default Welcome page
In this article we will learn how to replace (or disable) the default Welcome page for WildFly and JBoss EAP which is by default available at localhost:8080. WildFly users To configure an application as default Web app requires two simple steps. Firstly, in your undertow server remove the default welcome application from your host. You … Read more
How to run multiple HTTP Ports in JBoss / Wildfly
In this short tutorial we will learn a simple configuration skill to start multiple HTTP Ports on WildFly application server and how to restrict each port to a specific Web application deployed on it.
What is Undertow Web Server ?
This articles discusses the nitty-gritty details about JBoss Undertow, with some basic examples and links to the official project.
How to set the maximum number of Web connections in WildFly
The max-connections attribute sets the amount of concurrent connections that can be processed by an Undertow listener. You can apply to any of your available connectors. For example, to set the maximum number of connections for the HTTP connector from WildFly / JBoss CLI execute: The configuration will be updated as follows: If your configuration … Read more