Learn how Mockito annotations work in multiple-level injection scenarios.
Search Results for: object definition
Mutable vs. Immutable Objects in Java
Learn more about the definitions, examples, advantages, and considerations of mutable and immutable objects in Java.
@Query Definitions With SpEL Support in Spring Data JPA
Learn how to use Spring Expression Language to make custom queries more dynamic and hide database-specific actions in the repository layers.
Sorting Objects in a List by Date
Learn how to sort a Java Collection by Date object in both ascending and descending modes.
The DTO Pattern (Data Transfer Object)
Explore the definition of the DTO Pattern and its reason for existing, and how to implement it.
Overriding Column Definition With @AttributeOverride
Learn how to use @AttributeOverride to change a column mapping
Java Objects.hash() vs Objects.hashCode()
Learn how and when to use the Object.hashCode(), Objects.hashCode() and Objects.hash().
Injecting Spring Beans into Unmanaged Objects
Learn how to inject a Spring bean into an ordinary object.
OpenAPI JSON Objects as Query Parameters
Learn how to specify JSON objects as query parameters using the OpenAPI specification.
Comparing Objects in Java
Learn about comparing objects in Java.
The BeanDefinitionOverrideException in Spring Boot
Learn about the BeanDefinitionOverrideException in Spring Boot, and how to work with it.
Java Classes and Objects
Explore two basic concepts of the Java language – classes and objects – with examples of their implementation.
Spring BeanDefinitionStoreException
Causes and Solutions for the BeanDefinitionStoreException in Spring – FileNotFoundException, NoSuchMethodError, NoClassDefFoundError and IOException.
API First Development with Spring Boot and OpenAPI 3.0
Discover API-First Development using Spring Boot and Open API Specification 3.0.
Sorting Arrays in Java
Learn how to sort arrays or primitive types and objects in ascending and descending order
Introduction to JavaParser
A quick and practical guide to JavaParser.
Configuring Retry Policy for gRPC Request
Learn how to implement retry policies in gRPC.
OpenAPI Custom Generator
Learn the steps required to create a custom generator for the OpenAPI generator tool.
Introduction to Java 22
Explore the latest Java release, Java 22, which is now in General Availability.
Role-Based Access Control in Quarkus
Explore the RBAC system and learn how to leverage the Quarkus framework to implement it.