Learn how to collect the results of multiple CompletableFuture executions while also handling exceptions in Java.
Search Results for: sum
Find the First Non-repeating Element of a List
Learn a few approaches to finding the first non-repeating element in a list, each with its advantages and considerations.
Convert Infix to Postfix Expressions in Java
Explore infix, prefix, and postfix notations of mathematical expressions.
Get All Results at Once in a Spring Boot Paged Query Method
Revisit how to retrieve data in pagination using Spring Boot how to retrieve all results at once using pagination
Quarkus and Virtual Threads
Learn about Quarkus and virtual threads in Java.
Find the Equilibrium Indexes of an Array in Java
Learn what an equilibrium index of an array is and how to identify it.
Calculate Weighted Mean in Java
A quick and practical guide to calculating weighted mean in Java.
CountDownLatch vs. Semaphore
Explore the differences between CountDownLatch and Semaphore and discuss when to use each.
Generating Unique Positive Long Using SecureRandom in Java
Learn how to use SecureRandom to generate unique positive values in Java.
Read and Write Files in Java Using Separate Threads
Explore the utilization of separate threads for efficient file handling in Java.
Custom JSON Deserialization Using Spring WebClient
Learn about custom deserialization and how this can be implemented using Spring WebClient.
Access Job Parameters From ItemReader in Spring Batch
Explore how to work with JobParameters and how to access them from Spring Batch components.
Difference Between “mvn verify” and “mvn test”
A quick tutorial on the differences between the test and verify commands in Maven.
Structured Logging in Java
Learn the advantages of and how to implement structured logging in Java.
Regular Expression for Password Validation in Java
Learn how to use a regex for Java-based password validation processes.
N+1 Problem in Hibernate and Spring Data JPA
Explore a common N+1 problem while using Spring JPA and Hibernate.
Monkey Patching in Java
Learn how monkey patching can be used in Java, when to use it, and its drawbacks.
Introduction to gRPC with Spring Boot
A quick and practical guide to gRPC with Spring Boot.
How to Find the URL of a Service in Kubernetes
A quick and practical guide to finding the URL of a service in Kubernetes.
Event Externalization with Spring Modulith
Discover how to utilize Spring Modulith’s features to listen to Spring application events and publish them to a Kafka topic.