-
Core Java
Verify List Elements with Specific Properties Using Hamcrest
Hamcrest is a powerful framework used for writing matcher objects, which are helpful when writing tests in Java. One common…
Read More » -
Enterprise Java
Enhancing Spring Boot Controllers: Custom Parameters
Spring Boot, a popular framework for building Java-based applications, offers a robust and efficient way to create RESTful APIs. One…
Read More » -
Core Java
Hamcrest Collection hasItem() Example
In Java, it’s common to check whether a collection contains a specific element. This is a frequent task in testing…
Read More » -
DevOps
DevOps Tools: Docker, Jenkins, and Git Cheat Sheet
Introduction In the world of DevOps, efficiency and automation are the keys to success. Whether you’re managing containers with Docker,…
Read More » -
Enterprise Java
Using Spring AI Structured Output: List, Map, and Bean Converters
In Spring AI, structured output converters play a crucial role in handling the responses returned by AI models. Specifically, MapOutputConverter,…
Read More » -
Core Java
JPA Inheritance vs Composition Spring Boot Example
1. Introduction Inheritance is an “IS-A” type of relationship in object-oriented programming (OOP). Inheritance is tightly coupled since child classes…
Read More » -
Core Java
Enhancing Java Objects with the Decorator Design Pattern
The Decorator design pattern is a structural pattern that provides a flexible way to add new behaviors to objects dynamically…
Read More »