Core Java
-
Become a Master of Java Streams – Part 4: Database Streams
SQL has always been a declarative language whereas Java for a long time has been imperative. Java streams have changed…
Read More » -
Better NPE Messages in JDK 14
My March 2019 blog post “Better Default NullPointerException Messages Coming to Java?” was written when the draft JEP for better…
Read More » -
Java 13: Text Blocks
Java 13 has delivered the long-awaited multiline strings or Text Blocks. You no longer need to concatenate strings that span…
Read More » -
A New Era for Determining Equivalence in Java?
A few month ago I read a blog post of the title “A New Era for Determining Equivalence in Java?”…
Read More » -
7 Options to capture Java heap dumps
Heap Dumps are vital artifacts to diagnose memory-related problems such as slow memory leaks, Garbage Collection problems, and java.lang.OutOfMemoryError.They are also…
Read More » -
Become a Master of Java Streams – Part 3: Terminal Operations
Bill Gates once said: “I choose a lazy person to do a difficult job because a lazy person will find…
Read More » -
Ineffective Java
Perhaps I can be replaced by a robot for code review. There are some bits of feedback I find myself…
Read More » -
Java Record
The https://openjdk.java.net/jeps/359 outlines a new Java feature that may/will be implemented in some future versions of Java. The JEP suggests…
Read More » -
JAR File Handles: Clean Up After Your Mess!
In Ultra ESB we use a special hot-swap classloader that allows us to reload Java classes on demand. This allows…
Read More »