A quick and practical guide to parameterized logging with SLF4J.
Search Results for: property
@JsonSubTypes vs. Reflections for Polymorphic Deserialization in Jackson
Explore two distinct approaches, focusing on using a custom annotation and Reflections, for identifying and registering subtypes.
Getting Started With Apache Pulsar and Spring Boot
Pulsar is a high-throughput pub/sub system which aims to overcome Kafka’s limitations. We look at how to use it with Spring.
Scroll API in Spring Data JPA
A quick and practical guide to Scroll API in Spring Data JPA.
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.
Guide to Java Jackson-jr Library
Learn how to read and write JSONs easily with a lightweight Jakson-jr library.
How to Modify a Key in a HashMap?
Learn the remove() then put() approach to replacing a key in a Java HashMap.
Pagination in Spring Webflux and Spring Data Reactive
A quick and practical guide to pagination in Spring Webflux and Spring Data Reactive.
Docker Compose Support in Spring Boot 3
Learn about the new Docker Compose support in Spring Boot 3.1.0.
Java Weekly, Issue 500 :)
Soft delete in JPA, Kotlin 1.9, platform teams, sliced onion architecture, and stream processing!
Consuming Page Entity Response From RestTemplate
Discover how to use RestTemplate to invoke a RESTful endpoint and read the response of type Page.
Introduction to Selenide
A quick and practical guide to Selenide.
Check if a String Contains Non-Alphanumeric Characters
A quick and practical guide to checking if a String contains non-alphanumeric characters.
Quick Guide to YugabyteDB
Learn more about YugabyteDB through this quick guide with an usage example.
Swagger @Parameter vs @Schema
Let’s compare Swagger’s @Parameter and @Schema annotations, and identify the correct usage for each.
MongoDB – Field Level Encryption
A practical guide to field-level encryption with MongoDB.
Removing JSON Elements With Jackson
Explore how to remove JSON elements using Jackson and understand the process through practical examples.
Java Weekly, Issue 495
Lots and lots of new releases this week. And some Java Records goodness 🙂
Setting Default Values to Null Fields in Jackson Mapping
Explore three ways of dealing with missing or null values in JSON when parsing it with Jackson.
Difference Between findBy and findOneBy in Spring Data JPA
This article delves into the similarities and differences between the findBy and findOneBy prefixes in Spring Data JPA. It explores the concept of derived query methods, provides code examples, and explains the exception thrown by findBy queries when the result size doesn’t match expectations.