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

Image may be NSFW.
Clik here to view.

Call Java Class in JSP

1. Overview When working with JSP (JavaServer Pages), we often need to invoke backend logic directly from our JSP files. Whether we’re accessing business logic, performing calculations, or retrieving...

View Article


Image may be NSFW.
Clik here to view.

Transcribing Audio Files With OpenAI in Spring AI

1. Overview Businesses often need to extract meaningful data from various types of audio content, such as transcribing customer support calls for sentiment analysis, generating subtitles for videos, or...

View Article


Image may be NSFW.
Clik here to view.

Testing in Java Series

       

View Article

Image may be NSFW.
Clik here to view.

Validate Map Using Spring Validator

1. Introduction Spring’s validation framework is primarily designed to work with JavaBeans, where each field can be annotated with validation constraints. ​ In this tutorial, we’ll explore how to...

View Article

Image may be NSFW.
Clik here to view.

Query in DynamoDB on the Basis of Partition Key and Sort Key

1. Introduction Amazon DynamoDB is one of the core services offered by AWS. It is widely used for building fast, scalable, and serverless applications. It provides a fully managed NoSQL database...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 593

1. Spring and Java >> Instance Main Methods Move from Preview to Final in JDK 25 [infoq.com] JEP 512 introduces several features like instance main methods and compact source files, that together...

View Article

Image may be NSFW.
Clik here to view.

Doing Minus Operation on String in Java

1. Overview Java’s String class is a fundamental part of the language, widely used for text manipulation. While Java supports various operations on Strings, such as concatenation with the + operator,...

View Article

Image may be NSFW.
Clik here to view.

Introduction to the Class-File API

1. Introduction The Java Class-File API was introduced in JEP-484 as part of Java 24. It aims to create an interface that allows class file processing without relying on the legacy JDK’s internal copy...

View Article


Image may be NSFW.
Clik here to view.

Conditional Logging With Logback

1. Overview The Logback logging framework is a successor to the Log4j project and provides some unique, flexible, and advanced features that are missing in other logging systems. One such feature is...

View Article


Image may be NSFW.
Clik here to view.

Spring AOP for a Method Call Within the Same Class

1. Overview There are many intricacies when working with Spring AOP. One common issue is handling method calls from within the same class as these calls circumvent the AOP functionality. In this...

View Article

Image may be NSFW.
Clik here to view.

Modify Property Files in Java

1. Overview Java Properties are key-value pairs that hold configuration properties needed for application execution. We store these in property files to keep a clean structure. Java provides...

View Article

Image may be NSFW.
Clik here to view.

Introduction to RESTHeart

1. Introduction RESTHeart is a Java-based framework that lets us quickly build HTTP APIs on top of MongoDB. It enables us to expose the MongoDB collections as REST and GraphQL APIs with minimal setup,...

View Article

Image may be NSFW.
Clik here to view.

How to Use Maps in Protobuf

1. Introduction Protocol Buffers (protobuf) offer a fast and efficient way to serialize structured data. They’re a compact, high-performance alternative to JSON. Unlike JSON, which is text-based and...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 594

1. Spring and Java >> Local AI with Spring: Building Privacy-First Agents Using Ollama [foojay.io] Learn to set up a local AI agent with Spring AI and Ollama. This has the benefits of not sharing...

View Article

Image may be NSFW.
Clik here to view.

How to Configure GraphQL/REST APIs Using Apache Camel

1. Introduction In this tutorial, we’ll build a small application using Apache Camel to expose both GraphQL and REST APIs. Apache Camel is a powerful integration framework that simplifies connecting...

View Article


Image may be NSFW.
Clik here to view.

Read a Gradle Defined Variable in Java

1. Introduction In this short tutorial, we’ll explore three ways of reading a variable defined in the Gradle file at build time. This is especially useful if our code needs to behave differently based...

View Article

Image may be NSFW.
Clik here to view.

Business Process Automation with Kogito

1. Overview Apache Kogito is an open-source platform for building cloud-native business applications. In this tutorial, we’ll learn what we can do with it and how to build applications with Kogito...

View Article


Image may be NSFW.
Clik here to view.

Flexible Pub/Sub Messaging With Spring Boot and Dapr

1. Introduction In this article, we’ll learn what Dapr is, how it integrates with Spring Boot, and how to create a publish/subscribe system without coupling to specific brokers. We’ll walk through a...

View Article

Image may be NSFW.
Clik here to view.

How to Check if a Number Is the Sum of Two or More Consecutive Integers

1. Overview In this tutorial, we’ll explore how to determine whether a given number can be expressed as the sum of two or more consecutive integers. We’ll begin by understanding the mathematical...

View Article

Image may be NSFW.
Clik here to view.

Stream Gatherers in Java

1. Overview Java introduced the Stream API in Java 8, and it has since become a staple in Java development. It’s easy to use, understand, and maintain, and provides sequential and parallel processing...

View Article
Browsing all 3780 articles
Browse latest View live


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