Enterprise 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 » -
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 » -
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 » -
HttpClient 4 API – Get the Status Code -getStatusLine().getStatusCode() Example
A quick guide to get the status code in the HttpClient API. getStatusLine().getStatusCode() Example and related errors. 1. Introduction In…
Read More » -
Encrypt with OpenSSL, Decrypt with Java, Using OpenSSL RSA Public Private Keys
Abstract In 2017 I wrote a 3 part series on choosing the best hashing and encryption algorithms. While doing the…
Read More » -
Latest 20+ JMS Interview Questions and Answers (2020)
A quick walk through to JMS(Java Message Service) frequently asked interview questions and answers. The lastest questions from 2020 are…
Read More »