Quantcast
Channel: Baeldung
Browsing all 4588 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Embedded MariaDB Using MariaDB4j

1. Introduction MariaDB is an alternative database engine to MySQL, written by the original developers of MySQL and compatible as a drop-in replacement. In this article, we’re going to explore the...

View Article


Image may be NSFW.
Clik here to view.

Setting the Gradle JVM in IntelliJ IDEA

1. Overview In this tutorial, we’ll learn how to change the JVM version in IntelliJ Gradle projects. This will work on both Community and Ultimate Editions of IntelliJ. 2. Gradle JVM Setup in IntelliJ...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 569

1. Spring and Java >> Why Spring AI: The Seamless Path to Generative AI [spring.io] Integrating an LLM into your system, along with solid observability, is all made quite doable by Spring AI....

View Article

Image may be NSFW.
Clik here to view.

Mapping OffsetDateTime ZoneOffset With Hibernate TimeZoneColumn

1. Overview It’s common to persist a timestamp in Java applications and generally, the UTC timestamp is preferred to avoid time zone complexities. However, it may be required to store the timestamps...

View Article

Image may be NSFW.
Clik here to view.

Mono just() vs defer() vs create() in Reactive Programming

1. Introduction Mono is a central concept in reactive programming, particularly in Project Reactor. It represents a stream that emits at most one item and then completes successfully or with an error....

View Article


Image may be NSFW.
Clik here to view.

Turn Unstructured Data Into Structured Data With Camel Quarkus and Quarkus...

1. Overview Data extraction is a common challenge when working with unstructured content. We can use a Large Language Model to address this challenge. In this article, we’ll learn how to build...

View Article

Image may be NSFW.
Clik here to view.

Hibernate Group-By Using Criteria API

1. Overview Hibernate is a powerful ORM framework that allows us to focus less on SQL and more on working with Java objects. The Criteria API provides a programmatic way to build database queries and...

View Article

Image may be NSFW.
Clik here to view.

Configuring @MockBean Components Before Application Start

1. Introduction @MockBean is an annotation provided by the Spring framework. It helps create a mock object of a Spring bean, allowing us to replace the actual bean with a mock during testing. This is...

View Article


Image may be NSFW.
Clik here to view.

Quickly Building a JAR File in Eclipse

1. Overview In this article, we’ll learn how to quickly build a JAR file in the Eclipse IDE. We’ll follow two approaches. First, we’ll use the Eclipse-specific .jardesc file for quick JAR creation....

View Article


Image may be NSFW.
Clik here to view.

How to Check if Two Boolean Values Are Equal

1. Overview In programming, some tasks seem deceptively simple like checking if two boolean values are equal. While this might sound trivial, there are several approaches to achieve this, each with...

View Article

Image may be NSFW.
Clik here to view.

How to Run Multiple Jobs in Spring Batch

1. Introduction Spring Batch is a robust framework that makes processing large volumes of data a breeze by providing reusable components and reliable infrastructure. In real-world scenarios,...

View Article

Image may be NSFW.
Clik here to view.

Working With OpenTelemetry Collector

1. Overview The OpenTelemetry Collector gathers, handles, and sends telemetry data about how our software is performing. It integrates with various systems and tools, allowing us to incorporate it into...

View Article

Image may be NSFW.
Clik here to view.

Spring AI With ChromaDB Vector Store

1. Overview With traditional databases, we typically rely on exact keyword or basic pattern matching to implement our search functionality. While sufficient for simple applications, this approach fails...

View Article


Image may be NSFW.
Clik here to view.

Understanding AI Prompt Injection Attacks

1. Introduction A few years ago, when we thought about application security, we primarily focused on securing our APIs and databases against common threats like SQL injection, cross-site scripting...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 570

1. Spring and Java >> Bootiful Spring Boot 3.4: Spring Boot [spring.io] Spring Boot 3.4 is out with oh-so-many new features and improvements – graceful shutdown is enabled by default, support for...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 569

1. Spring and Java >> Why Spring AI: The Seamless Path to Generative AI [spring.io] Integrating an LLM into your system, along with solid observability, is all made quite doable by Spring AI....

View Article

Image may be NSFW.
Clik here to view.

Testing the Main Class of a Spring Boot Application

1. Overview Testing the main class of a Spring Boot application is essential to ensure that the application starts up correctly. While unit tests often focus on individual components, verifying that...

View Article


Image may be NSFW.
Clik here to view.

Count Inversions in an Array in Java

1. Overview In this tutorial, we’ll explore the problem of counting inversions in an array, a concept used in computer science to measure how far an array is from being sorted. We’ll start by defining...

View Article

Image may be NSFW.
Clik here to view.

DESC Command in H2 Database

1. Overview The H2 database is a lightweight, open-source relational database engine widely used by Java developers for testing, prototyping, and lightweight storage needs. While H2 supports many...

View Article

Image may be NSFW.
Clik here to view.

Persisting UUIDs in PostgreSQL using JPA

1. Overview When building robust Java applications with PostgreSQL, handling unique identifiers is a fundamental requirement. Instead of relying on auto-incrementing numeric IDs, UUIDs (Universally...

View Article
Browsing all 4588 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>