Clustering Infinispan made simple

This tutorial will discuss how to configure and start an Infinispan cluster. As next step, we will show how to connect to the cluster remotely using a Java application. Infinispan uses the JGroups library to provide network communication capabilities. JGroups is a toolkit for reliable group communication and provides many useful features and enables cluster … Read more

PrimeFaces autocomplete made simple

PrimeFaces AutoComplete displays suggestions while the input is typing. AutoComplete features various options, multiple selections, customizable content and other cool effects. Let’s see how to run a quick example of it.

Read more

Primefaces Chart in a nutshell

Do you need to include cool charts in your Web application and you want to do it really quickly? Have a look at Primefaces which features a large set of to chart components to render your data.

Read more

How to migrate Richfaces Web applications to another Web UI

The Richfaces project has reached End of Life in 2016. Since then, it’s not being developed and no fixes are therefore provided. Richfaces it’s still used in many projects therefore we will learn in this guide which are the best option to pick up as an alternative framework. Migrate Richfaces to JSF If your project … Read more

How to use environment variables in Artemis MQ XML config?

Out of the box, you cannot directly embed environment variables into Artemis’s broker.xml configuration. You can, however, set System Properties in there, using the following syntax: Then, you can inject the environment variable in the Java System property using the file artemis.profile which is located under the etc directory of your broker: Therefore, you have … Read more

How to use Drools rules in jBPM Processes

This tutorial discusses how to run Drool Rules from within a jBPM process, and how to handle the interactions between Process and Rules. (Updated to November 2021 ) Getting started with Drools WorkFlow Firstly, let’s start with some definitions for Processes and Rules: Business processes: Represent what the business does. Business rules: Represent decisions that … Read more