How to calculate the size of the Http Session?

The HTTP Session size in cluster is a key metric to determine how much an application can scale. In this updated tutorial we will learn some available options which you can use to have an estimate of the current HTTP Session size and the number of HTTP active sessions.

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

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

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

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

JBPM best practices

In this updated tutorial we will cover some of the best practices when designing or coding process with jBPM. Include multiple end events A process, by design, requires at least a Start Task and an End Task. In most cases, however, it is not advised to include a single end state where all process branches … Read more