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).
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.
This articles discusses the nitty-gritty details about JBoss Undertow, with some basic examples and links to the official project.
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
In this article we will learn how to create a Web fragment XML file (web-fragment.xml) and how to make it default for all applications deployed on WildFly by using a the deployment-overlay feature.
In some cases it may be necessary to redirect your incoming HTTP traffic to HTTPS to ensure that your connection is encrypted. Let’s see what changes are required in your Undertow configuration to allow automatic redirection from HTTP to HTTPS.
HSTS stands for HTTP Strict Transport Security. It is a method used by websites to declare that they should only be accessible using a secure connection (HTTPS). If a website declares an HSTS policy, the browser should reject all HTTP connections and prevent users from accepting insecure SSL certificates. In this tutorial we will learn how to configure in on WildFly Web server.
This article will teach you how to create an Access Control List for your Web applications running on WildFly based on IP/Host address. The procedure to apply is different depending on the version of the application server. We will check first how to do it with WildFly / JBoss EAP 7 which uses undertow. Next, … Read more
WildFly application server places the source and compiled Servlets (derived from your JSP) under the standalone/tmp/<deployment_unit>/org/apache/jsp folder. Let’s see an example. You have deployed a Web application named “hello.war” which contains,in the root folder, the hello.jsp page. When requested, the following hello_jsp.java Servlet,java will be created and compiled: tmp ├── auth ├── hello.war │ └── … Read more
This articles discusses about Cross-origin HTTP requests (CORS) and how they can be enabled on WildFly. Let0s start with some definitions: a cross-origin HTTP request is one that is made to: A different domain (for example, from acme.com to amazon.com). A different subdomain (for example, from acme.com to home.acme.com). A different port (for example, from … Read more