Securing your WildFly or JBoss EAP server with SSL/HTTPS is essential for protecting data and ensuring compliance with security best practices. Using Let’s Encrypt, you can automate the issuance and renewal of SSL certificates for your WildFly applications, removing the hassle of manual certificate management and ensuring your deployments remain secure with valid, up-to-date certificates.
F.Marchioni
How to wait in Java with Awaitility
Testing asynchronous operations in Java can be challenging, especially when working with microservices, reactive applications, and event-driven architectures where you need to wait for conditions to become true without using unreliable Thread.sleep() calls. Awaitility is a lightweight Java library that simplifies waiting in your tests, allowing you to write clear, fluent, and robust asynchronous tests. In this updated guide, you will learn how to use Awaitility for testing Java, Spring Boot, Quarkus, and Jakarta EE applications, with practical examples aligned with modern testing practices for cloud-native environments and CI/CD pipelines.
Configuring a datasource with PostgreSQL and JBoss/WildFly
This tech tip shows how you can install and configure PostgreSQL with JBoss / WildFly going into the details of PostgreSQL installation, configuration and tuning. We will learn which is the modern PostgreSQL Driver to use (updated June 2025) and also how to troubleshoot common issues. Starting PostgreSQL Firstly, we will need to start a … Read more
How to set and load Properties in WildFly ?
If you are working with WildFly or JBoss EAP in 2025, managing system properties and application configurations effectively is essential for containerized deployments, CI/CD pipelines, and cloud-native workloads. Whether you need to inject environment-specific variables, manage secret values, or configure tuning parameters, understanding how to set and load properties in WildFly ensures your applications remain portable, maintainable, and aligned with modern DevOps practices. This updated guide shows multiple methods to inject system properties into WildFly, including CLI commands, standalone.xml edits, and environment variable approaches suitable for Kubernetes and OpenShift deployments.
How to solve javax.net.ssl.SSLHandshakeException
If you encounter javax.net.ssl.SSLHandshakeException while developing or deploying Java applications on WildFly, Spring Boot, Quarkus, or microservices, it often indicates a mismatch between your client and server TLS configurations. This exception can result from expired certificates, missing trusted CA certificates, or unsupported TLS versions (TLS 1.0/1.1 being deprecated) in your JVM or server configuration. In this updated guide, you will learn practical, step-by-step methods to diagnose and solve SSLHandshakeException in Java, ensuring your applications remain secure and compliant with modern TLS 1.2 and TLS 1.3 standards while maintaining connectivity to HTTPS endpoints.
Keycloak Using Docker and Docker Compose (2025 Edition)
In this updated tutorial, we’ll walk you through the step-by-step process of running Keycloak 26 with Docker. We will learn how to deploy Keycloak with Docker and Docker Compose, covering development mode, data persistence and production set up with PostgreSQL.
How to add an Admin User in Keycloak
Creating an admin user in Keycloak is a mandatory step for automating administrative tasks and managing your Keycloak instance. This tutorial will guide you through the process of adding an admin user to Keycloak using the Web Console or environment variables. The default flow to add an Admin User Firstly, when you install a Keycloak … Read more
How to configure the Transaction Timeout in JBoss / WildFly
In modern WildFly and JBoss EAP versions, transaction timeout management remains an essential part of tuning enterprise applications to handle long-running operations gracefully. While the default timeout of 300 seconds works for most scenarios, microservices, cloud-native deployments, and Jakarta EE applications often require fine-tuned transaction settings to align with modern distributed architectures. Adjusting transaction timeouts can help prevent unnecessary rollbacks, optimize resource usage, and avoid stuck threads in high-load environments.
Examples of jboss-deployment-structure.xml
This tutorial contains some examples of how to configure the file jboss-deployment-structure.xml . This file allows to fine tune the modules of your applications running on WildFly. The advantage of using this file (compared to the Manifest’s entry) is that you can define dependencies across top-level deployments and subdeployments.
How to filter a JSON Document using Java Stream API
Working with JSON is a daily task in modern Java applications. Thanks to the Java 8 Stream API and the Jackson library, you can now process JSON data in a clean, functional style. Instead of writing verbose loops and conditionals, you can compose readable pipelines that handle filtering, mapping, and collecting with ease.
In this tutorial, we’ll walk through how to parse a JSON document and apply powerful filters using Java Streams. We’ll also cover best practices for Java 11+ and performance tips for handling large datasets.