Quantcast
Channel: Baeldung

Image may be NSFW.
Clik here to view.

Google Cloud and Spring AI

1. Overview Spring AI is an application framework with a common interface for various LLMs that helps us to integrate them into our Spring Boot applications. In this tutorial, we’ll explore how we...

View Article


Image may be NSFW.
Clik here to view.

Using HTTPS With Jersey Client in Java

1. Introduction In this quick tutorial, we’ll explore how to configure the Jersey Client to work with HTTPS endpoints in Java. We’ll start with basic SSL configuration using JVM parameters and progress...

View Article


Image may be NSFW.
Clik here to view.

Programmatic Bean Registration Mechanism With BeanRegistrar in Spring

1. Overview Spring beans are typically registered declaratively via annotations like @Component or @Bean. But in some cases, we need more flexibility that we only have with programmatic registration,...

View Article

Image may be NSFW.
Clik here to view.

How to Separate Paragraphs in Javadocs

1. Introduction In large codebases, well-written Javadocs are as important as the code itself. One of the simplest techniques for enhancing the readability of Javadocs is splitting long descriptions...

View Article

Image may be NSFW.
Clik here to view.

Persist Quartz Scheduler in Database

1. Introduction When building a Spring web application, we often need to schedule recurring tasks or jobs, such as sending emails, generating reports, or processing data at specific intervals. The...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 609

1. Spring and Java >> Orchestrating AI Services with the Spring AI Framework [infoq.com] Spring AI brings the power of large language models to your Java app with a simplified and consistent API,...

View Article

Image may be NSFW.
Clik here to view.

How to Find Null or Empty Strings in a Java List

1. Overview In this tutorial, we’ll explore how to detect null or empty Strings in a List<String> in Java. We’ll start with a classic for-loop that checks each element explicitly, so we...

View Article

Image may be NSFW.
Clik here to view.

A Guide to OpenAI’s Moderation Model in Spring AI

1. Introduction We use Spring AI with OpenAI’s Moderation model to detect harmful or sensitive content in text. The moderation model analyzes input and flags categories like self-harm, violence, hate,...

View Article


Image may be NSFW.
Clik here to view.

MCP Authorization With Spring AI and OAuth2

1. Overview Model Context Protocol (MCP) allows AI models to access business data through secure APIs. When we build MCP servers that handle sensitive information, we need proper authorization to...

View Article


Image may be NSFW.
Clik here to view.

Java Reflection Beans Property API

1. Overview Java Reflection provides powerful capabilities to inspect and manipulate objects at runtime. Two commonly used tools for working with object properties dynamically are the Beans Property...

View Article

Image may be NSFW.
Clik here to view.

Unit Tests for Concurrent Java with VMLens

1. Introduction While it is common to write unit tests for single-threaded Java, unit tests for concurrent Java are still rarely used. By using VMLens, an open source tool to deterministically unit...

View Article

Image may be NSFW.
Clik here to view.

DataLoader for Batch Processing

1. Overview It’s common to encounter performance issues when writing applications that make repeated database or API calls inside a loop. It’s a familiar pattern, but it’s pretty inefficient; each call...

View Article


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