Getting Started with Jakarta Data API

Jakarta Data API is a powerful specification that simplifies data access across a variety of database types, including relational and NoSQL databases. In this article you will learn how to leverage this programming model which will be part of Jakarta 11 bundle.

Read more

How to create a KeyCloak Provider

Keycloak offers a range of Service Provider Interfaces (SPIs) that enable specific functionalities within the server. By following this guide, you’ll understand how to code and install a custom Provider that you can add to your Keycloak installation.

Read more

How to run GitHub Actions locally

GitHub Actions, a powerful tool provided by GitHub, enables developers to automate their workflows directly within their repositories. Whether it’s continuous integration (CI), continuous deployment (CD), or any other custom automation task, GitHub Actions simplifies the process. In this article we will learn how to test your GitHub Actions locally with the act CLI tool.

Read more

Monitoring File System Events with Java.nio.file.WatchService

The java.nio.file package provides the WatchService API for monitoring changes to the file system. This tutorial will guide you through using WatchService to detect events like file creation, modification, and deletion.

Prerequisites:

  • Basic understanding of Java programming
  • Familiarity with working with files and directories

Read more

How to dump HTTP requests in Keycloak?

Understanding the HTTP requests flow through your Keycloak server can be helpful for debugging purposes and analyzing user interactions. This article will teach you how you can dump incoming HTTP requests in Keycloak distribution powered by Quarkus.

Read more

Using SAML with Keycloak

In this tutorial, we’ll explore how to integrate SAML (Security Assertion Markup Language) with Keycloak. SAML 2.0 is a widely-used authentication protocol that exchanges XML documents between authentication servers and applications. In this article we will create a Keycloak SAML Client and then we will provision a WildFly Application Server which will be able to … Read more

How to set the Max Log size in WildFly

This article will teach you which are the strategies to configure a maximum size of your logs in WildFly by using some of the available Log handlers. We will learn how to define the maximum log size both with the Command Line and the XML configuration.

Read more

How to use a Datasource in Quarkus

This article will teach you how to use a plain Datasource resource in a Quarkus application. We will create a simple REST Endpoint and inject a Datasource in it to extract the java.sql.Connection object. We will also learn how to configure the Datasource pool size.

Read more

Docker-compose: ports vs expose explained

Docker-compose allows you to access container ports in two different ways: using “ports” and “expose:”. In this tutorial we will learn what is the difference between “ports” and “expose:” providing clear examples.

Read more