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

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 575

1. Spring and Java >> Do We Need Unit Tests Anymore? [petrikainulainen.net] Unit tests have lost ground in favor of integration, API, and end-to-end tests. Still, unit tests can be very much...

View Article


Image may be NSFW.
Clik here to view.

Introduction to h2o

1. Overview Machine learning is essential in modern software development. We build models with various architectures, train them using different algorithms, and achieve incredible results by improving...

View Article


Image may be NSFW.
Clik here to view.

Float vs. Double in Java

1. Overview Managing numeric data effectively is a key aspect of Java programming, as selecting the appropriate data type can greatly influence performance and accuracy. The float and double data types...

View Article

Image may be NSFW.
Clik here to view.

Using Anthropic’s Claude Models With Spring AI

1. Overview Modern web applications are increasingly integrating with Large Language Models (LLMs) to build solutions. Anthropic is a leading AI research company that develops powerful LLMs, with their...

View Article

Image may be NSFW.
Clik here to view.

How to Handle “class file has wrong version” Errors in Java

1. Overview While working with Java projects, a common error when setting up a new project or updating or adding a dependency is the “class file has wrong version” error. In this tutorial, we’ll look...

View Article


Image may be NSFW.
Clik here to view.

Constraint Programming Using Choco

1. Overview In this tutorial, we’ll learn about Choco-solver, a popular Java Constraint Programming (CP) framework. Overall, we’ll briefly understand the fundamentals of CP and then look at the key...

View Article

Image may be NSFW.
Clik here to view.

Working With Reactive Kafka Stream and Spring WebFlux

1. Overview In this article, we’ll explore Reactive Kafka Streams, integrate them into a sample Spring WebFlux application, and examine how this combination enables us to build fully reactive,...

View Article

Image may be NSFW.
Clik here to view.

Import CSV in Elasticsearch Using Spring Boot

1. Introduction In this tutorial, we’ll learn how to import data from a CSV file into Elasticsearch using Spring Boot. Importing data from a CSV file is a common use case when we need to migrate data...

View Article


Image may be NSFW.
Clik here to view.

Fixing Hibernate QueryParameterException: No Argument for Ordinal Parameter

1. Overview In this short tutorial, we’ll learn how to fix the Hibernate QueryParameterException: “no argument for ordinal parameter”. First, we’ll understand the root cause behind the exception. Then,...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 576

1. Spring and Java >> Peaceful and Bright Future of Integrity by Default in Java [inside.java] The “Integrity by Default” JEP aims to restrict unsafe APIs by default (with the option to override...

View Article

Image may be NSFW.
Clik here to view.

Setting Connection Timeout and Read Timeout for Jersey

1. Introduction In this tutorial, we’ll explore the importance of configuring connection/read timeouts in REST clients. We’ll demonstrate this using Jersey, a common JAX-RS implementation. 2. Why Set...

View Article

Image may be NSFW.
Clik here to view.

Java Weekly, Issue 577

1. Spring and Java >> Does AI-Generated Documentation Have Value? [vanillajava.blog] Peter Lawrey analyzes the benefits of AI-generated documentation, and how to use it to gain insights for...

View Article

Image may be NSFW.
Clik here to view.

Using LangChain4j With Micronaut

1. Overview LangChain4j is a Java library based on LangChain. We use it in our Java applications to integrate with LLMs. Micronaut is a modern, JVM-based framework designed for building lightweight,...

View Article


Image may be NSFW.
Clik here to view.

How to Check For a Logged Message in a Spock Test

1. Introduction As our code executes we often log events of interest. Some of those events are important enough that we want to ensure that our message is logged. In this tutorial, we’ll learn how to...

View Article

Image may be NSFW.
Clik here to view.

Null Array to Empty List in Java

1. Overview In Java programming, simplicity often hides behind the handling of null values, especially when dealing with arrays. Likewise, converting a potentially null array to an empty List isn’t...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 578

1. Spring and Java >> Building Effective Agents with Spring AI (Part 1) [spring.io] Explore basic design patterns for implementing LLM-based systems, with practical examples using Spring AI....

View Article

Image may be NSFW.
Clik here to view.

Validate List of Values in Spring

1. Overview The process of validating various values is critical in software development. It ensures that the data flowing into our application is correct and consistent. Validations can be applied to...

View Article


Image may be NSFW.
Clik here to view.

Convert Camel Case to Snake Case in Java

1. Overview Camel and snake cases are two common naming conventions often used in programming. While the camel case utilizes capital letters to signify the start of a new word (camelCaseExample), the...

View Article

Image may be NSFW.
Clik here to view.

Introduction to JLine 3

1. Introduction JLine is a library for handing console input, giving us similar abilities to the GNU readline library or the ZSH line editor. In this tutorial, we’ll examine JLine 3, learning what it...

View Article

Image may be NSFW.
Clik here to view.

Convert Mono Object to Another Mono Object in Spring WebFlux

1. Introduction Spring WebFlux is a reactive programming framework that facilitates asynchronous, non-blocking communication. A key aspect of working with WebFlux is handling Mono objects, representing...

View Article
Browsing all 3618 articles
Browse latest View live


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