Learn how to use the Spring Cloud AWS SQS v3 library to interact with AWS queues with different message acknowledgement modes.
Search Results for: stack
Difference Between thenApply() and thenApplyAsync() in CompletableFuture
Explore the functionalities and differences between the thenApply() and thenApplyAsync() methods in Java’s CompletableFuture.
A Guide to etcd
Explore etcd, an open-source distributed key-value store. Understand its fundamental concepts, features, and use cases with examples.
Solving Rod Cutting Problem in Java
Explore the Rod Cutting Problem and discuss various ways of solving it.
Guide to System.in.read()
Learn how to use Java’s System.in.read().
Convert Infix to Postfix Expressions in Java
Explore infix, prefix, and postfix notations of mathematical expressions.
Quarkus and Virtual Threads
Learn about Quarkus and virtual threads in Java.
CountDownLatch vs. Semaphore
Explore the differences between CountDownLatch and Semaphore and discuss when to use each.
Read and Write Files in Java Using Separate Threads
Explore the utilization of separate threads for efficient file handling in Java.
Regular Expression for Password Validation in Java
Learn how to use a regex for Java-based password validation processes.
Calculating the Power of Any Number in Java Without Using Math pow() Method
Explore various approaches to calculating the powеr of a numbеr in Java without rеlying on the Math.pow() mеthod.
JFR View Command in Java 21
A quick tutorial on the Java Flight Recorder view command, available in Java 21.
Introduction to Spring Cloud AWS 3.0 – SQS Integration
Learn how to use AWS SQS using the Spring Cloud AWS SQS 3.0 integration.
Global Exception Handling with Spring Cloud Gateway
Explore the nuances of implementing a global exception-handling strategy within Spring Cloud Gateway, delving into its technicalities and best practices.
Difference Between a Future and a Promise in Java
Explore the differences between Future and Promise, and learn about their key characteristics, use cases, and distinctive features.
Difference Between Xmx and MaxRAM JVM Parameters
Learn how to use the -XX:MaxRAM flag to provide more tuning opportunities for the heap size calculation.
Java Weekly, Issue 523
GenAI-ying JFR, Quarkus integrated LLMs, Kotlin patterns, secure encryption, and stable diffusion!
Fixing Hibernate QueryException: Named Parameter Not Bound
Learn to resolve the Hibernate QueryException: “named parameter not bound.” by employing the setParameter() method to assign values to named parameters.
Difference Between 1L and (long) 1
Learn the differences between defining a long value using literal representation and casting an int value to a long.
Determine the Class of a Generic Type in Java
Learn about generics and type erasure, along with its benefits and limitations, and explore various workarounds for getting a class of generic type information at runtime.