Core Java
-
Java Math pow() method Example (Recursive and Loop Iterative)
A quick guide to Math.pow() method in java. Custom implementation of Math pow() using iterative and recursive approaches. 1. Overview…
Read More » -
Did You Know You Can Create Mappers Without Creating Underlying Objects in Java?
As most Java developers know, putting values in a Java Map (like a HashMap) involves creating a large number of…
Read More » -
Avoid leaking domain logic
Many software architectures try to separate domain logic from other parts of the application. To follow this practice we always…
Read More » -
Logging Side Effects
One would like to assume that turning logging on would have no side effect on the running software. LOGGER.info("The current…
Read More » -
Execute mTLS calls using Java
Previously we secured an Nginx instance using SSL and mTLS. If you are using Java interacting with a service secured…
Read More » -
Overhead added by collecting thread dumps
A thread dump is a snapshot of all the threads running in a java process. It’s a vital artifact to…
Read More » -
Performance impact of java.lang.System.getProperty()
‘java.lang.System.getProperty()’ is a common API used by Java developers to read the System properties that are configured during application startup…
Read More » -
Chasing Java’s release train: JDK-17, the next big thing
Here we go, JDK-17, the next LTS release, just became generally available. It is an important milestone for the OpenJDK…
Read More » -
Google Cloud Deploy – CD for a Java based project
This is a short write-up on using Google Cloud Deploy for Continuous Deployment of a Java-based project. Google Cloud Deploy…
Read More »