Java
-
Clean Code from the Trenches – Writing Executable Specifications with JUnit 5, Mockito, and AssertJ
Executable Specifications are tests that can also serve as design specifications. They enable technical and business teams to get on…
Read More » -
Java/Cloud: How to Quickly Create a Kubernetes-ready REST Microservice
It is safe to say that the Microservice + Cloud combination is all the rage these days. Microservices are being…
Read More » -
Be Careful When Modifying Data While Using a Java Iterator
As this semester begins to wrap up, I figured I’d share a little story of how I got very, very…
Read More » -
Tomcat JDBC Pool – Connection Leak – Catch the Culprit
Database connection leaks are something that can stay hidden unless paid specific attention and would come to the surface at…
Read More » -
Apache Derby Database JVM Security Policy
Abstract I have already posted a number of blogs about Derby: Derby Database Backup Multiple Derby Network Servers on the…
Read More » -
Spring Boot Remove Embedded Tomcat Server, Enable Jetty Server
A quick guide to exclude embedded tomcat server in spring boot application and adding Jetty Server Instead. Configuration to remove…
Read More » -
Java 8 Stream Intermediate Operations (Methods) Examples
A Complete guide to Java 8 Streams intermediate operations. List of all built-in Stream API Intermediate operations(methods) with examples. 1.…
Read More » -
Custom HTTP Header with the HttpClient
A quick guide to set custom HTTP Header in Apache HTTPClient request. On HttpRequest call setHeader() method to set HttpHeaders…
Read More » -
Java UnknownHostException – Invalid Hostname for Server – How to Fix It?
A quick guide to An UnknownHostException and it is thrown if a java.net.UnknownHostException occurs while creating a connection to the…
Read More »