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

Primefaces File Upload made simple

The PrimeFaces File upload component can perform server side file uploads using a straightforward client API. We have updated this tutorial to show how to upload files using Primefaces 10 and WildFly 24.

Read more

PrimeFaces Datatable in a nutshell

The dataTable is a key component of JSF architecture. It can display Objects in a Collection or an Array where each Object represents one row in the table and columns match instance variables in the Object. In this tutorial we will show how to use the Primefaces Datatable component in minutes. If you are new to Primefaces … Read more

What is Infinispan ? a quick introduction

What is Infinispan ? In a nutshell, Infinispan is an open source data grid platform written in Java which exposes a JSR-107 compatible cache interface in which you can store objects. There are several use cases for Infinispan: let’s discuss the three most common use cases: Using Infinispan as a Cache Firstly, Infinispan can be … Read more

How to manage JBoss / WildFly remotely

In this article we will learn how you can manage a JBoss / WildFly application server remotely. There are several alternatives to access a running JBoss / WildFly server remotely. Prerequisites First, set the IP Address jboss.bind.address.management to your machine’s address As an alternative, you can use the 0.0.0.0 address which will use all the … Read more

Where are jBoss logs located?

We will shortly discuss where JBoss EAP / WildFly logs are located. The location of JBoss logs basically depends on which mode you are using to start the application server. When running in standalone mode, JBoss logs are located in the standalone/log folder: As you can see, the currently running server has created the server.log … Read more

Coding Filters and Interceptors for your RESTFul services

Jakarta Restful Web Services includes an Interceptor API that allows developers to intercept request and response processing. This allows addressing some advanced concepts like authentication, caching, and compressing without polluting application code. Jakarta Restful Web Services define two broad categories to intercept requests and responses: Filters and Entity Interceptors. Filters are used to modify or … Read more

Export your dataTable to Excel and PDF using Primefaces

Do you need exporting your JSF dataTable to any kind of format such as Excel, PDF, CSV, XML ? We have updated this tutorial to Primefaces 10 to do it in a minute! In order to export your dataTable, you can use the DataExporter UICommand which is part of the Primefaces suite. Using it is … Read more

Managing Keycloak user metadata and custom attributes

Each user that is stored in Keycloak can store basic Metadata information such as name and email. Besides that, you can store arbitrary user attributes, also called Custom Attributes. In this tutorial, we will show an example application which retrieves User Metadata and Custom Attributes for a Keycloak Realm.

Read more