-
Software Development
Vertical Slice Architecture
In the world of software architecture, different approaches have been developed to manage complexity, maintainability, and scalability. Two prominent architectures…
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 » -
Core Java
Arithmetic Ops On Precision Binary Ints in Java
Java provides robust support for handling binary integers, including operations on arbitrary-length binary integers. Let us delve to understand how…
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 » -
Core Java
How to Delay a Stubbed Method Response With Mockito
In unit testing, Mockito is a popular framework for creating mock objects and defining their behavior. Sometimes, there is a…
Read More » -
Enterprise Java
How to Fix PSQLException Operator Does Not Exist Character Varying = UUID
When working with Spring JPA and PostgreSQL, you might encounter an error like PSQLException: Operator Does Not Exist: character varying…
Read More » -
Core Java
Store File or byte[] as SQL Blob in Java (Store and Load)
In many applications, you might need to store files or binary data directly in a database. PostgreSQL offers a data…
Read More » -
Core Java
Read Last N Lines From File in Java
Reading the last N lines of a file is a common task in Java, especially when dealing with log files…
Read More » -
Core Java
hasItems() vs. contains() vs. containsInAnyOrder() in Hamcrest
Hamcrest is a popular framework for writing matcher objects, allowing for more readable and flexible unit tests. Among its many…
Read More »