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

Image may be NSFW.
Clik here to view.

Implementing GraphQL Mutation Without Returning Data

1. Introduction GraphQL is a powerful query language for APIs and provides a flexible and efficient way to interact with our data. When dealing with mutations, it’s typical to perform updates or...

View Article


Image may be NSFW.
Clik here to view.

Modify and Print List Items With Java Streams

1. Overview When we work with Java, manipulating lists is a fundamental skill. In this quick tutorial, we’ll explore different ways to modify or transform a list and then print its elements in Java. 2....

View Article


Image may be NSFW.
Clik here to view.

Count the Number of Unique Digits in an Integer using Java

1. Overview In this short tutorial, we’ll explore how to count the number of unique digits in an integer using Java. 2. Understanding the Problem Given an integer, our goal is to count how many unique...

View Article

Image may be NSFW.
Clik here to view.

Query Hints in Spring Data JPA

1. Introduction In this tutorial, we’ll explore the fundamentals of query hints in Spring Data JPA. These hints help to optimize database queries and potentially improve application performance by...

View Article

Image may be NSFW.
Clik here to view.

Generate Juggler Sequence in Java

1. Overview The juggler sequence stands out for its intriguing behavior and elegant simplicity. In this tutorial, we’ll understand the juggler sequence and explore how to generate the sequence using a...

View Article


Image may be NSFW.
Clik here to view.

Java Weekly, Issue 532

1. Spring and Java >> Bending pause times to your will with Generational ZGC [netflixtechblog.com] The surprising and not-so-surprising benefits of generational ZGC: reduced tail latencies,...

View Article

Image may be NSFW.
Clik here to view.

Migrate Application from Spring Security 5 to Spring Security 6/Spring Boot 3

1. Overview Spring Security 6 comes with several major changes, including the removal of classes, and deprecated methods, and the introduction of new methods. Migrating from Spring Security 5 to Spring...

View Article

Image may be NSFW.
Clik here to view.

Document Query Parameters with Spring REST Docs

1. Overview Documentation is crucial for any piece of code that we intend to share with the world, especially if this code is relatively complex. Good API documentation not only attracts developers to...

View Article


Image may be NSFW.
Clik here to view.

Introduction to JFreeChart

1. Overview In this tutorial, we’ll see how to use JFreeChart, a comprehensive Java library for creating a wide variety of charts. We can use it to integrate graphical data representations into a Swing...

View Article


Image may be NSFW.
Clik here to view.

Finding the Parent of a Node in a Binary Search Tree with Java

1. Introduction A Binary Search Tree (BST) is a data structure that helps us efficiently solve real-world problems. In this post, we’ll look at how to solve the problem of finding the parent of a node...

View Article

Image may be NSFW.
Clik here to view.

How to Mock Amazon S3 for Integration Test

1. Introduction In this article, we’ll learn how to mock Amazon S3 (Simple Storage Service) to run integration tests for Java applications. To demonstrate how it works, we’ll create a CRUD (create,...

View Article

Image may be NSFW.
Clik here to view.

Serialization with FlatBuffers in Java

1. Introduction In this tutorial, we’ll explore FlatBuffers in Java and perform serialization and deserialization using it. 2. Serialization in Java Serialization is the process of converting Java...

View Article

Image may be NSFW.
Clik here to view.

Get the Initials of a Name in Java

1. Introduction When handling names, it can be beneficial to shorten them into abbreviated strings using each word’s first character. In this tutorial, let’s look at different ways to implement this...

View Article


Image may be NSFW.
Clik here to view.

Simplified Array Operations on JsonNode Without Typecasting in Jackson

1. Overview Working with JSON (JavaScript Objеct Notation) in Java often involves using librariеs like Jackson, which provides various classеs to rеprеsеnt this type of data, such as JsonNodе,...

View Article

Image may be NSFW.
Clik here to view.

Blowfish Encryption Algorithm

1. Overview Originally designed as an alternative to the DES encryption algorithm, the Blowfish encryption algorithm is one of the most popular encryption algorithms available today. Blowfish is a...

View Article


Image may be NSFW.
Clik here to view.

Spring Security AuthorizationManager

1. Introduction Spring Security is an extension of the Spring Framework that makes it easy to build common security practices into our applications. This includes things like user authentication and...

View Article

Image may be NSFW.
Clik here to view.

OpenAPI Generator Custom Templates

1. Introduction OpenAPI Generator is a tool that allows us to quickly generate client and server code from REST API definitions, supporting multiple languages and frameworks. Although most of the time...

View Article


Image may be NSFW.
Clik here to view.

Finding the Majority Element of an Array in Java

1. Introduction In this tutorial, we’ll explore different approaches to finding the majority element within an array. For each approach, we’ll provide their respective code implementations and analysis...

View Article

Image may be NSFW.
Clik here to view.

Finding the Peak Elements of a List

1. Introduction Peak elements within an array are important for numerous algorithms, offering valuable insights into the dataset’s characteristics. In this tutorial, let’s explore the concept of peak...

View Article

Image may be NSFW.
Clik here to view.

Obtaining the Last Path Segment of a URI in Java

1. Introduction Working with Uniform Resource Identifiers (URIs) is a common operation that is mostly used in web development and file management. Besides, one of the most common needs is to get the...

View Article
Browsing all 4535 articles
Browse latest View live


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