Keycloak Database User Federation

Keycloak uses a local database by default to manage users. However, many organizations have existing user credentials available in a relational database. This article will teach you how to use Keycloak’s User Storage SPI to federate users from a PostgreSQL Database.

Read more

ActiveMQ Artemis CheatSheet

This is my Artemis MQ Artemis Cheatsheet which includes some commandline shortcuts you can use to manage your broker as well as producing and consuming messages and checking their status.

Read more

Jakarta EE 10 Application with an Angular Frontend

In this tutorial, we’ll walk through the process of creating a simple Jakarta EE 10 application that exposes a RESTful endpoint to fetch a list of customers. We’ll then build an Angular front end that consumes this endpoint and displays the list of customers in a user-friendly format.

Read more

Logging vs. Tracing vs. Metrics: Understanding the Differences

In the realm of software development and system monitoring, three crucial components play a pivotal role in ensuring the smooth operation and maintenance of applications: logging, tracing, and metrics. Each of these elements serves a unique purpose and provides distinct insights into the system’s behavior and performance. Understanding their differences and applications is essential for building robust and efficient monitoring and diagnostic systems.

Read more

Testing JPA with TestContainers

Testcontainers is an open-source Java library that simplifies integration testing by providing lightweight, disposable containers for database systems, message brokers, and other third-party services. In this article we will learn how to combine Testcontainer with a JPA/Hibernate Test case.

Read more

Using RAG with Langchain4j and Ollama3

Retrieval-Augmented Generation (RAG) is a framework that enhances the capabilities of generative language models by incorporating relevant information retrieved from a large corpus of documents. This combination helps improve the accuracy and relevance of the generated responses. In this article we will learn how to use RAG with Langchain4j.

Read more

Categories AI