Learn how to avoid ambiguous method calls in the specific context of the Mockito framework.
Search Results for: const
Saga Pattern in a Microservices Architecture
Learn how to implement Saga Pattern in a microservices architecture with Orkes Conductor.
Java InputStream vs. InputStreamReader
Learn how an InputStreamReader builds on an InputStream to assist when working with streams of characters.
Get List of Entity From Database in Hibernate
Explore a few techniques for retrieving lists of entities from a database using Hibernate
Creating PostgreSQL Schema Before Liquibase Execution
Learn how to create a PostgreSQL schema before Liquibase execution in Spring Boot.
Flatten a Stream of Maps to a Single Map in Java
Learn to combine a stream of maps into a single result map in Java.
Dynamically Register Spring Beans Based on Properties
Learn how to dynamically register beans based on custom properties.
Dynamically Managing Kafka Listeners in Spring Boot
Learn how to manage Kafka Listeners dynamically in Spring Boot.
Querydsl vs. JPA Criteria
Discover the differences and similarities between JPA Criteria and Querydsl.
Representation of Integers at a Bit Level in Java
Understanding how Java represents integers can help us with certain mathematical operations. In this article, we look at integer representation and how to use bitwise operations with Java numbers.
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.
Capturing Method Arguments When Running Spock Tests
Learn how to capture method arguments using Spock’s Stubs, Mocks, and Spies using Closures.
How to Autowire a Spring Bean in a Servlet Filter
Explore various approaches to seamlessly obtain Spring beans within a Servlet filter.
Introduction to Redpanda
Discover Redpanda, a powerful event streaming platform and one of Kafka’s competitors.
Check if a Number Is a Happy Number in Java
Learn how to check if a number is a happy or sad number in Java.
Intro to the Apache Commons CLI
Explore the Java Apache Commons CLI library.
Finding the Peak Elements of a List
Learn how to find the peak elements of a list in Java.
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.