Learn how to configure the cache in Spring Boot and learn how to disable the cache when needed.
Search Results for: split string
Normalizing the EOL Character in Java
Explore different Java methods for normalizing EOL characters.
Querydsl vs. JPA Criteria
Discover the differences and similarities between JPA Criteria and Querydsl.
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.
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.
Get the Initials of a Name in Java
Learn how to get the initials of a name in Java.
Custom Event Handlers and Listeners in Netty
Learn to make a basic chat room using Netty. Key features include custom event handlers, server bootstrapping, and event listeners.
How to Collect All Results and Handle Exceptions With CompletableFuture in a Loop
Learn how to collect the results of multiple CompletableFuture executions while also handling exceptions in Java.
Run-Length Encoding and Decoding in Java
Learn how run-length encoding works and then, explore two approaches to implementing run-length encoding and decoding.
Normalize a URL in Java
Explore different techniques to normalize a URL in Java.
Improving Test Coverage and Readability With Spock’s Data Pipes and Tables
Learn how to use Spock’s data feeds in a where block.
Simple Morse Code Translation in Java
Learn how to translate from English to Morse code and vice versa.
Read Multiple Messages with Apache Kafka
Explore how the Kafka Consumer retrieves messages from the broker.
Sending Data to a Specific Partition in Kafka
Learn different techniques for sending data to specific partitions in Kafka.
JNDI – What Is java:comp/env?
Understand the reasoning behind using the “java:comp/env” standard prefix in JNDI naming.
Introduction to LangChain
Learn how to work with large language models in Java with LangChain.
Taking Every N-th Element from Finite and Infinite Streams in Java
Explore how to get every N-th element from finite and infinite streams in Java.
Partition a Stream in Java
Explore various ways of partitioning a Stream in Java.
Extract Text Between Square Brackets
Explore how to extract content between square brackets in a text.
How to Check if a Value Exists in a JSON Array for a Particular Key
Learn how to inspect a JSON array and check if it contains a particular key-value pair.