A quick and practical guide to Mockito’s MockedConstruction.
Search Results for: %s
Query With IN Clause in Spring Data Cassandra
Learn how to implement the IN query clause using Spring Data Cassandra.
Differences Between Heap Dump, Thread Dump and Core Dump
Learn the differences between heap dump, thread dump, and core dump and understand their use cases.
Custom DLL Load – Fixing the “java.lang.UnsatisfiedLinkError” Error
Explore common causes like incorrect library names, missing directory specifications, and incompatible architectures. Implement solutions such as setting java.library.path and using proper classloaders to resolve this error effectively.
Performance Comparison Between Different Java String Concatenation Methods
Explore different string concatenation methods in Java and evaluate their performance using JMH.
Extracting a Tar File in Java
In this tutorial, we explore Java libraries for extracting tar archives: Apache Commons Compression, Apache Ant, and Apache VFS. The article provides concise code snippets and highlights the key features of each approach. Read on to learn efficient ways of extracting tar archives in Java.
Cognitive Complexity and Its Effect on the Code
A quick and practical guide to cognitive complexity.
Boolean Converters in Hibernate 6
Learn how to map boolean properties in the domain model using boolean converters added in Hibernate 6.
Execute Tests Based on Active Profile With JUnit 5
Learn how to execute tests based on the active Spring profile using JUnit 5.
A Guide to Spring Cloud Azure Key Vault
Explore the fundamental principles of cloud-native development and the benefits of using Spring Cloud Azure Key Vault.
Convert Boolean to String in Java
Explore various ways of converting boolean values to strings.
Difference Between Fluent Interface and Builder Pattern in Java
Discover the differences between the fluent interface design pattern and the builder pattern.
Testing Spring OAuth2 Access-Control
Explore options for testing Spring OAuth2 access control rules with mocked identities.
Guide to Quarkus Funqy
Learn about Quarkus Funqy as a great addition that helps to run Java functions on the Serverless infrastructure.
Callback Functions in Java
A quick and practical guide to callback functions in Java.
OpenTelemetry Setup in Spring Boot Application
Deploying microservices can lead to challenges in tracing requests across those services. With OpenTelemetry we’re able to capture logs from independent services and use them to observe traces of entire requests. We look at how to achieve this in Spring.
Storing Data Triple in a List in Java
Explore how to store triples in a list with examples.
String Interpolation in Java
Explore the topic of String interpolation in Java.
Persisting the Query Model
Look at persisting Axon framework’s query model.
Iterate Through Two ArrayLists Simultaneously
Java does not provide an explicit way to iterate over two lists at the same time. We look at some techniques and libraries that can help us correlate data between two collections according to index.