How to customize WildFly using Env variables

In this article, we will learn how to leverage environment variables to modify and optimize WildFly configurations. We will explore first how to pass environment variables to a basic WildFly configuration. Then, in the next article we will show a common use case for this feature which is Cloud provisioning of WildFly. Passing environment variables … Read more

Comparing Java Records with Lombok

Java records and Lombok are both tools that aim to reduce boilerplate code in Java, but they have different approaches and use cases. In this article we will compare them to understand which is the perfect use case of each approach. Java Records overview: For example: Lombok Library overview: For example: Please note that, in … Read more

Writing JPA applications using Java Records

In this article, we’ll explore how Java Records, available since Java 16, can be used in the context of JPA Application. We’ll uncover how Java Records, renowned for their simplicity and immutability, complement the flexibility and expressive querying abilities offered by the Criteria API.

Read more

Categories jpa

How to disable WildFly Admin Console

The WildFly application server comes with a powerful Admin Console that provides a user-friendly interface for managing and monitoring server resources. However, in some scenarios, you may want to disable the Admin Console to enhance security. This tutorial guides you through the process of disabling the Admin Console in WildFly or JBoss Enterprise Application Platform (JBoss EAP).

Read more

JBoss vs Tomcat: A Comprehensive Comparison

Apache Tomcat and WildFly (formerly known as JBoss Application Server) are both popular open-source Java-based application servers, but they have differences in terms of features, architecture, and the development communities around them. Let’s dig into a comparison between Apache Tomcat and WildFly. Overview of JBoss vs Tomcat Apache Tomcat and WildFly are both popular open-source … Read more

What is API Management? A Comprehensive Guide

In this tutorial, we will learn the fundamental concepts and functionalities of API Management. Then, we will shed light on the distinctions between API Management, API Gateway, Load Balancing, and Reverse Proxy — essential components in modern network architectures.. API Management in a nutshell API Management refers to the process of designing, deploying, monitoring, and … Read more

Using try-with-resources to close database connections

Managing database connections is a crucial aspect of Java programming, especially when working with relational databases. Java provides a convenient way to handle resources, including database connections, using the try-with-resources statement introduced in Java 7. This feature simplifies resource management by automatically closing resources when they are no longer needed, reducing the risk of resource … Read more

How to use Keycloak REST API

The Keycloak REST API is a Web service Endpoint that allows you to manage Keycloak using a REST channel. It provides endpoints for creating, updating, and deleting Keycloak entities such as users, groups, clients, roles, and realms. You can use any programming language that supports HTTP requests to interact with the API.

Read more

Redis Integration with Quarkus made simple

This tutorial will guide you through accessing Redis in-memory store from a Quarkus application. We will show which are the key interfaces for storing data structures in Redis and how Quarkus Dev Services greatly simplifies setting up a Dev environment for our Redis application. Redis Overview Redis is an open-source in-memory data structure store which … Read more