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

Image may be NSFW.
Clik here to view.

Convert Google Protocol Buffer Timestamp to LocalDate

1. Overview The Protocol Buffer (protobuf) data format helps us transfer structured data over a network. It’s independent of any programming language and has an implementation for most programming...

View Article


Image may be NSFW.
Clik here to view.

Install Java on macOS

1. Overview Java is a programming language owned by Oracle that was originally developed in 1995 by Sun Microsystems. In enterprises, web development, and the development of highly scalable solutions,...

View Article


Image may be NSFW.
Clik here to view.

Introduction to DuckDB

1. Overview In this tutorial, we’ll learn about an analytical relational database called DuckDB. We’ll explore its advantages and see how it’s an efficient solution for analytical tasks. After that,...

View Article

Image may be NSFW.
Clik here to view.

Parallel Collection Processing with Parallel Collectors and Virtual Threads

1. Introduction In the previous article, we covered parallel-collectors, a small zero-dependency library that enables parallel processing for Stream API on custom thread pools. Project Loom is the...

View Article

Image may be NSFW.
Clik here to view.

SkipList Implementation in Java

1. Overview In this article, we’ll explore the fundamentals of the SkipList data structure and walk through a Java implementation. SkipLists are versatile and can be applied to various domains and...

View Article


Image may be NSFW.
Clik here to view.

Polymorphism with Gson

1. Introduction In this tutorial, we’ll explore how to manage polymorphism with Gson. We’ll also explore some techniques for handling serialization and deserialization in polymorphic ways. 2....

View Article

Image may be NSFW.
Clik here to view.

Exploring Complex Number Arithmetic Operations in Java

1. Introduction In this tutorial, we’ll examine arithmetic operations on complex numbers. Specifically, we’ll explore how to perform addition, subtraction, multiplication, and division of two complex...

View Article

Image may be NSFW.
Clik here to view.

Iterator vs forEach() in Java

1. Overview In Java programming, navigating through collections and arrays is crucial. In this article, we discuss two primary approaches using the Iterator interface and the forEach() method. We aim...

View Article


Image may be NSFW.
Clik here to view.

PrintWriter write() vs print() Method in Java

1. Introduction In this article, we’ll talk about the PrintWriter class of the Java IO package. Specifically, we’ll discuss two of its methods, write() and print(), and their differences. The...

View Article


Image may be NSFW.
Clik here to view.

How to Intercept a Request and Add Headers in WebFlux

1. Overview Interceptors, also known as filters, are a feature in Spring that allows us to intercept client requests. This allows us to examine and transform the request before the controller handles...

View Article

Image may be NSFW.
Clik here to view.

How to Specify the logback.xml Location

1. Overview Logging is an essential aspect of any software application for monitoring, debugging, and maintaining system health. In the Spring Boot ecosystem, Logback functions as the default logging...

View Article

Image may be NSFW.
Clik here to view.

Download File from S3 Given a URL

1. Introduction In today’s software landscape, interacting with cloud storage services such as Amazon Simple Storage Service (S3) has become a fundamental aspect of many applications. One common...

View Article

Image may be NSFW.
Clik here to view.

Find the Length of the Longest Symmetric Substring

1. Introduction Determining the length of the longest symmetric substring poses a common challenge in string manipulation tasks. In this tutorial, we’ll discuss two Java approaches for efficiently...

View Article


Image may be NSFW.
Clik here to view.

Print the Default Value When Overriding toString() Method

1. Introduction We can use the toString() method in Java to return a string representation of an object. Often, it’s overridden to provide a meaningful description of the object’s state. However,...

View Article

Image may be NSFW.
Clik here to view.

Finding the Redirected URL of a URL in Java

1. Introduction Understanding how URLs are redirected is crucial in web development and network programming tasks, such as handling HTTP redirects, validating URL redirects, or extracting final...

View Article


Image may be NSFW.
Clik here to view.

Different Ways to Use Limit and Skip in MongoRepository

1. Introduction When working with MongoDB in Spring Data, the MongoRepository interface provides a simple way to interact with MongoDB collections using built-in methods. In this quick tutorial, we’ll...

View Article

Image may be NSFW.
Clik here to view.

Find the Date of Easter Sunday for the Given Year

1. Overview In this tutorial, we’ll understand why the Easter date is complex to compute. Then, we’ll implement three algorithms to calculate it in Java: the Gauss, Butcher-Meeus, and Conway...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 538

1. Spring and Java >> JEP 473: Stream Gatherers (Second Preview) [openjdk.org] The second preview of Stream Gatherers in Java 23 — going beyond pre-defined intermediate operations in Stream API...

View Article

Image may be NSFW.
Clik here to view.

Introduction to Simple Java Mail

1. Introduction Simple Java Mail is a popular open-source library that simplifies sending emails in Java applications. It provides a user-friendly API compared to the standard JavaMail API, allowing us...

View Article

Image may be NSFW.
Clik here to view.

“Not a Managed Type” Exception in Spring Data JPA

1. Overview When using Spring Data JPA we may encounter issues during the bootstrap time. Some of the beans may not be created, causing the application not to start. While the actual stack trace may...

View Article
Browsing all 3602 articles
Browse latest View live


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