Core Java
-
Enhancing Java switch Statement with Introduction of switch Expression
In late December of last year, I posted “Switch Expressions Coming to Java?” Since then, there has been significant discussion,…
Read More » -
Parallel and Asynchronous Programming in Java 8
Parallel code, which is code that runs on more than one thread, was once the nightmare of many an experienced…
Read More » -
Optional.isEmpty() Coming to Java?
JDK-8184693 requests that the method isEmpty() be added to the Optional class introduced with JDK 8. Invoking Optional.isEmpty() would be…
Read More » -
JVM Architecture: Execution Engine in JVM
Hello readers! In the previous article of JVM series, developers learned about the Virtual machine’s ClassLoader and Runtime Data Areas…
Read More » -
JVM Architecture: JVM Class loader and Runtime Data Areas
Hello readers! In the previous article of JVM series, developers learned about the Java Virtual Machine (JVM) and it’s architecture.…
Read More » -
Strategy Pattern with CDI and lambdas
The strategy design pattern dynamically chooses an implementation algorithm, a strategy, at runtime. The pattern can be used to select…
Read More » -
JDK 11 and proxies in a world past sun.misc.Unsafe
With JDK 11 the first methods of sun.misc.Unsafe are retired. Among them, the defineClass method was removed. This method has…
Read More » -
Date Util
Timezones suck. Especially daylight saving. I don’t mind moving the clock or losing an hour of sleep as much as…
Read More » -
JVM Architecture: Overview of JVM and JVM Architecture
Hello readers! In this tutorial, we will understand and learn the Java Virtual Machine (JVM) and its architecture. This tutorial…
Read More »