How to connect your Quarkus application to Infinispan

Infinispan is a distributed in-memory key/value data grid. An in-memory data grid is a form of middleware that stores sets of data for use in one or more applications, primarily in memory. There are different clients available to connect to a remote/embedded Infinispan server, In this tutorial we will learn how to connect to Infinispan … Read more

How to enable certificate forwarding in WildFly

In this tutorial we will learn how to do client certificate authentications when WildFly is located behind a reverse proxy. The most common use cases for reverse proxies are: When the reverse proxy is located on a DMZ When youe Web applications are located on a VLAN (e.g. private network). When the reverse proxy reads … Read more

How to connect WildFly to a remote ActiveMQ Artemis server?

In this tutorial we will cover how to connect WildFly application server (or JBoss EAP 7) to a remote Artemis MQ server by defining a Remote Connection factory which points to the AMQ broker First of all, some background. ActiveMQ Artemis has a plugable protocol architecture and ships with 5 protocol modules out of the … Read more

Quarkus vs Spring Boot – part two

In the first tutorial Quarkus vs Spring Boot: What You Need to Know we have compared Spring Boot and Quarkus in relation to the core framework capabilities, memory consumption, cloud readiness and ease of development. In the second part of this article series, we will be comparing which are the actual API that you can … Read more

Getting started with Struts 2 on WildFly

In this article we will learn how to run a Struts 2 application on WildFly application server. You will also find, at the end of it, the first article we wrote about JBoss and Struts which is related to Struts 1. Running Struts 2 on WildFly To get started quickly with Struts 2 on WildFly … Read more

From Drools to Kogito Rule Engine

You might have already heard of Kogito so you may want to learn more about it and how it compares with Drools Rule engine. In this tutorial we will learn what is the relation between these two Rule engines. The Kogito project aims to bring the business automation suite to the cloud and precisely into … Read more

What is JBoss Drools?

In this tutorial we will learn what is Drools and some basics of its architecture and API. Drools is the rules engine of the KIE (Knowledge Is Everything) umbrella project. Drools engine stores, processes, and evaluates data to execute the business rules or decision models that you define. The main concept to understand about Drools … Read more

HelloWorld Servlet example

In this tutorial we will learn how to code and deploy an HelloWorld Servlet on the latest version of WildFly. A Java Servlet is a Java object that responds to HTTP requests while running inside a Web container. In terms of process, the browser sends an HTTP request to the Java web server. The web … Read more

How to find out which JAXB implementation is used in your code

When using WildFly or JBoss EAP, the JAXB implementation is defined by the following specification in module.xml: <module name=”javax.xml.bind.api” xmlns=”urn:jboss:module:1.7″> <dependencies> <module name=”javax.activation.api” export=”true”/> <module name=”javax.xml.stream.api”/> <module name=”com.sun.xml.bind” services=”import”/> <module name=”javax.api”/> </dependencies> <resources> <resource-root path=”jboss-jaxb-api_2.3_spec-1.0.1.Final-redhat-1.jar”/> </resources> </module>  In order to check the actual JAXB implementation, you can just create a new Instance of JAXBContext and … Read more