Spring Boot
-
Enterprise Java
Spring Validator Validation Example
1. Introduction Spring Validation Framework includes the Validator interface that handles data validation. It is used to implement custom validation…
Read More » -
Enterprise Java
Spring Boot and SOLID: A Perfect Match
Spring Boot, a popular Java framework for building microservices and web applications, has gained immense popularity due to its simplicity,…
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
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 » -
Enterprise Java
Spring Boot Performance: Maximizing Request Handling
Spring Boot has rapidly become the go-to framework for building robust and scalable web applications. Its ease of use and…
Read More » -
Enterprise Java
HTTP Request and Response Logging Using Logbook in Spring
Zalando Logbook is a popular Java library that provides detailed HTTP request and response logging capabilities. It’s highly customizable and…
Read More » -
Enterprise Java
Testing CORS in Spring Boot
CORS (Cross-Origin Resource Sharing) is a mechanism that allows resources on a web server to be requested from another domain.…
Read More » -
Enterprise Java
Boost DTO Creation with Records & MapStruct in Spring Boot
DTO (Data Transfer Object) creation is a common task in Spring Boot applications. Traditionally, this involved writing boilerplate code for…
Read More » -
Enterprise Java
Inject a Mock as a Spring Bean in a Spock Spring Test
Spock is a powerful testing framework for Java and Groovy applications, especially for writing unit and integration tests. It integrates…
Read More »