Tutorial: Using Debezium JDBC Connector

Debezium is an open-source CDC (Change Data Capture) platform that allows you to capture and stream database changes in real-time. The Debezium JDBC Connector enables you to monitor changes in relational databases, like PostgreSQL, and stream those changes to various downstream systems.

In this tutorial, we will guide you through the process of using the Debezium JDBC Connector to capture changes in a PostgreSQL database and stream them to Apache Kafka. We’ll use Docker to set up a PostgreSQL database, Apache Kafka, and Debezium, creating an end-to-end example.

Read more

Getting started with Debezium

Debezium is a project built upon Apache Kafka and uses Kafka to stream the changes from one system to another. Once core feature of Debezium is the Change Data Capture which is able to capture data and pushes it into Kafka. In this updated tutorial we will learn how to configure Debezium and Apache Kafka to stream changes in the database.

Read more

How to run Spring Boot applications on WildFly

This updated (May 2023) article shows how to deploy Spring Boot 3 / Spring Boot 2 applications on top of WildFly application server as Web application archives (war). We will start by setting up the application with Spring Boot Initializr. Then, we will apply the configuration changes to deploy the application on WildFly.

Read more

How to Trace requests with RestEasy

When working with RESTful web services, it is often useful to be able to trace requests to better understand what is happening. Fortunately, this is relatively easy to do with WildFly and Resteasy. In this article, we will look at how to configure tracing for REST requests using an enhancement available in WildFly 28.

Read more

How to configure and run Maven WildFly plugin

In the fast-paced world of Java application development, having a seamless and efficient deployment process is crucial. Maven, a powerful build automation tool, coupled with the WildFly plugin, offers a robust solution to streamline the deployment of your Java applications. This tutorial serves as a comprehensive guide to configuring the Maven WildFly plugin, equipping developers … Read more

How to build a Maven archetype for a Jakarta EE project

Welcome to our comprehensive tutorial on building a Maven archetype for a Jakarta EE project! In this step-by-step guide, we will empower you with the knowledge and skills to create a powerful foundation for your enterprise applications. With our expert guidance, you’ll master the process of designing a customizable archetype that adheres to best practices … Read more

How to integrate JQuery Ajax and REST Services

In this tutorial, we will explore how to use jQuery and AJAX to interact with a REST service. AJAX (Asynchronous JavaScript and XML) allows us to send and receive data from a server asynchronously without the need to reload the entire page. With the help of jQuery, a popular JavaScript library, we can simplify and … Read more

How to monitor JMX Metrics using Byteman

In this article, we will dive deep into the world of JMX metrics collection using Byteman, a powerful Java agent, and explore how it can help your monitoring and optimization efforts. Whether you are a seasoned developer or an operations professional, this guide will equip you with the knowledge and tools to unlock the full potential of your application. Let’s embark on this journey to harness the power of JMX metrics with Byteman and take your monitoring to new heights.

Read more

Solving Unable to load the mojo ‘war’ in the plugin

If you are working with Maven and encounter the error message “Unable to load the mojo ‘war’ in the plugin ‘org.apache.maven.plugins:maven-war-plugin‘ due to an API incompatibility,” don’t worry. This error typically occurs when there is an issue with the compatibility of the Maven War Plugin. Fortunately, it can be easily resolved by updating the Maven … Read more