Learn to combine a stream of maps into a single result map in Java.
Search Results for: any
Creating a Spring Security Key for Signing a JWT Token
In this tutorial, we learn how to sign and verify a JWT token in Spring Boot.
Invalid Characters in XML
In this article, we learn about various invalid characters and how to handle them in XML processing.
How to Convert Excel to JSON in Java
Explore two methods for converting Excel files to JSON format in Java: reading and processing Excel data with Apache POI and then converting it to JSON using the JSON and Jackson libraries.
Check if a Given Time Lies Between Two Times Regardless of Date
Explore ways to determine if a particular time lies within the two times without considering dates.
Implement Two-Level Cache With Spring
Learn how to implement two levels of caching in Spring.
Querydsl vs. JPA Criteria
Discover the differences and similarities between JPA Criteria and Querydsl.
Adding Elements to a Collection During Iteration
Explore several methods, including ListIterator (enhanced for looping with a copy) and Java 8 Streams, which allow you to add elements to a list during iteration in Java.
Find the Largest Number Possible After Removing k Digits of a Number
A quick and practical guide to finding the largest number possible after removing k digits of a number.
Refresh and Fetch an Entity After Save in JPA
Explore various strategies and techniques to effectively refresh and fetch entities after saving in JPA.
Parsing HTML Table in Java With Jsoup
Learn ow to parse and manipulate an HTML table using Jsoup
Capturing Method Arguments When Running Spock Tests
Learn how to capture method arguments using Spock’s Stubs, Mocks, and Spies using Closures.
Introduction to Redpanda
Discover Redpanda, a powerful event streaming platform and one of Kafka’s competitors.
Intro to the Apache Commons CLI
Explore the Java Apache Commons CLI library.
Obtaining the Last Path Segment of a URI in Java
Explore multiple Java methods, including the URI class, Path class, FilenameUtils, and regular expressions, providing diverse approaches to extract the last path segment from a URI.
Finding the Majority Element of an Array in Java
Explore different approaches to finding the majority element within an array. Learn about their time and space complexities.
OpenAPI Generator Custom Templates
Learn how to use OpenAPI Generator Custom Templates to generate customized client and server code from REST API definitions.
Spring Security AuthorizationManager
In this article, we look at the AuthorizationManager in Spring Boot.
Blowfish Encryption Algorithm
Learn how to implement encryption and decryption using Blowfish ciphers with the Java Cryptography Architecture (JCA).
Simplified Array Operations on JsonNode Without Typecasting in Jackson
Explore various approaches to simplifying array operations on JsonNode without explicitly typecasting it to ArrayNode in Jackson.