Configuring Strict Transport Security (HSTS) on WildFly

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.

Read more

What’s new with Quarkus 2.0 and how to get started quickly

Quarkus 2.0 has been released! In this article, we will cover the highlights of the new major version and the requirements to get started or migrate to this exciting new version. Quarkus 2.0 aims to bring ease of development at an even higher level. There are several improvements in the tooling area and the major … Read more

Hot to solve the “Too many Open Files” error in Java applications

This tutorial will discuss how to fix one of the most common errors for Java applications: “Too many open files“. The error Java IOException “Too many open files” can happen on high-load servers and it means that a process has opened too many files (file descriptors) and cannot open new ones. In Linux, the maximum … Read more

Connecting WildFly to a remote Artemis MQ broker using SSL

In this article we have covered how to connect WildFly to a remote ArtemisMQ Server with no encryption of data. Let’s see how we can secure the communication between WildFly and Artemis MQ. Configuring SSL on Artemis MQ We will configure at first SSL on the broker side. Within the broker.xml configuration file, we need … Read more

Configuring jBPM to use MySQL as Database

This tutorial discusses how to configure jBPM to use MySQL as database to store process data. jBPM out of the box uses H2 database to store the state of processes using a file located under $JBOSS_HOME/standalone/data/jbpm-db. In order to switch to another database, you can use any of the following scripts which are available in … Read more

How to create a custom WorkItem Handler in jBPM

In this second tutorial about jBPM WorkItemHandler we will discuss how to create a custom WorkItemHandler which can be used to plug into your BPMN process some complex Java logic. A WorkItemHandler is a class that implements the org.kie.runtime.instance.WorkItemHandler interface. There are several built-in WorkItemHandler available in jBPM, for example, in this tutorial we have … Read more

How to use a REST WorkItem Handler in jBPM

In jBPM, a Work Item Handler is a Java class that implements the org.kie.runtime.instance.WorkItemHandler interface and can be used to execute some tasks during a Process. jBPM provides some built-in WorkItemHandlers. In this tutorial we will learn how to use one of the most common ones, the REST WorkItem Handler. We will use as starting … Read more