Learn how to use Java Concurrency to build concurrent projects in Java.
Search Results for: Concurrency
Structured Concurrency in Java 19
Learn about structured concurrency capabilities in Java 19.
Concurrency in Spring WebFlux
Concurrency in Spring Webflux depends on many factors. Let’s explore them in-depth.
Common Concurrency Pitfalls in Java
There is plenty to catch us out when we write multi-threaded or concurrent code within Java. Here we explore some common problems and their solutions.
Java Concurrency
Explore Concurrency in Java.
Java Concurrency Utility with JCTools
Learn how to implement non-blocking, concurrent data structures with the JCTools library
Concurrency with LMAX Disruptor – An Introduction
A quick introduction to LMAS Disruptor and the usage of Disruptor API
Java Concurrency Interview Questions (+ Answers)
A set of popular concurrency-related Java interview questions and of course answers.
How to Unit Test an ExecutorService Without Using Thread.sleep()
Learn how to unit test an ExecutorService instance without using the Thread.sleep() method.
Introduction to Java 22
Explore the latest Java release, Java 22, which is now in General Availability.
Converting Float ArrayList to Primitive Array in Java
Learn how to convert an ArrayList of wrapper classes into an array of primitives.
SkipList Implementation in Java
A quick and practical guide to implementing SkipList in Java.
How to Scale a Bufferedimage in Java?
Learn how to scale an image by an arbitrary scale factor.
Introduction to Light-4J
Learn the core philosophy, key features, and architectural concepts of the Light-4j library.
Guide to ExecutorService vs. CompletableFuture
Explore two essential Java classes for handling asynchronous tasks: ExecutorService and CompletableFuture.
Difference Between GroupId and ConsumerId in Apache Kafka
Learn the difference between GroupId and ConsumerId in Apache Kafka.
Difference Between thenApply() and thenApplyAsync() in CompletableFuture
Explore the functionalities and differences between the thenApply() and thenApplyAsync() methods in Java’s CompletableFuture.
CompletableFuture runAsync() vs. supplyAsync() in Java
Learn about two essential methods offered by Java’s CompletableFuture, explore their differences, use cases, and when to choose one over the other
Java Weekly, Issue 529
LINQ emulation in Java, JPA fetch types, stateless sessions in Hibernate, GC improvements, and Actor model concurrency.
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.