Mapping Table per Concrete Class in JPA

In object-oriented programming, inheritance allows you to create hierarchies of related classes. When mapping these class hierarchies to a relational database using the Java Persistence API (JPA), you have different strategies available. One such strategy is the Table per Concrete Class strategy. Overview The Table per Concrete Class strategy, also known as “Single Table Inheritance,” … Read more

How to set Process Variables at startup in JBPM

In jBPM, you can conveniently set process variables at start-up by utilizing start parameters. Start parameters allow you to provide initial values for process variables when starting a new process instance. This tutorial will guide you through the steps to achieve this. Prerequisites Step 1: Define Process Variables Ensure that your BPMN process definition file … Read more

How to use Table per Class Hierarchy in JPA

In this tutorial, we will explore how to utilize JPA’s table per class hierarchy strategy to map a class hierarchy to a denormalized database table. The table per class hierarchy strategy allows multiple classes in a hierarchy to be combined into a single table, simplifying the database schema and reducing the number of joins required.

Read more

Comparing Jackson vs JSONB

JSON-B and Jackson are both libraries that can be used for parsing and generating JSON data in Java. However, they have some differences in their functionality and usage. This tutorial will discuss them in detail.

Read more

Analyzing Java Applications with JBoss Tattletale

In this tutorial, we will explore JBoss Tattletale, a powerful tool for analyzing Java applications. JBoss Tattletale provides insights into your application’s dependencies, usage of deprecated APIs, class and package-level statistics, and much more. By identifying potential issues and providing in-depth reports, Tattletale helps you improve the quality and maintainability of your Java projects. Let’s dive in and learn how to utilize this tool effectively.

Read more

How to send messes with the MQTT protocol in Artemis

In this tutorial we will discuss about using MQTT connectivity protocol which is an extremely lightweight publish/subscribe messaging transport. For this reason it is useful for connections with remote locations where a small code footprint is required and/or network bandwidth such as pocket devices (e.g. mobile). In this tutorial, we will explore how to use … Read more

H2 Database Tutorial and expert Tips

H2 DB is an open source lightweight Database written in Java. It ships in JBoss EAP and WildFly application server to speed up developing and testing Java applications. Let’s have a look to the main configuration options and how to create an example application using the H2 DB. What is H2 database? Firstly, let’s see … Read more

Getting started with Quarkus 3

This article introduces some of the new features of the upcoming Quarkus 3 release which is, at the time of writing, in Alpha state. We will cover the main highlights and some tools you can use to upgrade existing Quarkus applications.

Read more