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.
Hibernate lets you override every single SQL statement generated with CRUD Operations. We have already covered native SQL query usage in this tutorial Using native Queries with Hibernate and JPA but you can also override the SQL statement used to load or change the state of entities. Let’s see how.
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.
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
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
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
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
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
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