Java
-
Draft JEP to Remove Deprecated CMS Garbage Collector
In the 10 April 2017 post “Java Garbage Collectors: When Will G1GC Force CMS Out?,” I discussed JEP 291 (“Deprecate…
Read More » -
Minimize turnaround times with Open Liberty’s dev mode
I’ve uploaded a video in which I show how to reduce the turnaround times while writing Enterprise Java applications that…
Read More » -
Checking What’s Thrown in Java Tests
Someone came up with the idea of using try and catch blocks in unit tests in Java: 1 2 3…
Read More » -
The Chameleon Function
In Doctor Who the character Kamelion was a robot which could take any form. The physical prop they used was…
Read More » -
The Final Word on “final”
In Java, overuse of final feels like SHOUTING. It’s outdated and inappropriate much of the time. Java and JavaScript This…
Read More » -
JVM with no garbage collection
JVM community keeps on adding new GC and recently new one was added and it is called Epsilon and is very…
Read More » -
Need driven software development using Mocks
Excellent paper on mocking framework by jmock author. This paper was written in 2004 that is 18 years ago but…
Read More » -
How to Convert a Java Object into a JSON String
When learning how to write Java-based software, one of the first snags developers hit is how to connect their code…
Read More » -
Adapter Design Pattern In Java
The Adapter design pattern is a structural design pattern that helps us to connect to the legacy or third-party code that exposes a similar…
Read More »