Java
-

Java NIO Tutorial
1. Introduction Java NIO is a library introduced from Java 1.4. Java NIO has since its launch provided an alternative…
Read More » -

Fixing the if smell
From time to time we might end up with some huge if statements in our codebase. Those statements have to…
Read More » -

Deferred Execution with Java’s Predicate
In the previous posts “Deferred Execution with Java’s Supplier” and “Deferred Execution with Java’s Consumer“, I looked at easily deferring…
Read More » -

Spring State Machine: what is it and do you need it?
State machine is a model of computation based on the finite states, as Wikipedia very obligingly says. Usually there are…
Read More » -

Model Serving: Stream Processing vs. RPC / REST with Java, gRPC, Apache Kafka, TensorFlow
Machine Learning / Deep Learning models can be used in different ways to do predictions. My preferred way is to…
Read More » -

Reduce GC Overhead With These 5 Simple Hacks
Five simple ways to write code that’s more memory efficient, without spending more time on it or reducing code readability…
Read More » -

Applying New JDK 11 String Methods
In the posts “New Methods on Java String with JDK 11” and “String#repeat Coming to Java?“, I discussed six new…
Read More » -

Java 8 Stream examples
This post will help you to understand some of the important and frequently used Stream operations in Java 8 which…
Read More » -

Launch Single-File Source-Code Programs in JDK 11
JEP 330 – Launch Single-File Source-Code Programs is one of the exciting features in the upcoming JDK 11(18.9) release. This…
Read More »



