Core Java
-
Java 8 : Functional VS Traditional
The business logic is the same : Given a String expression composed of visits / time like : “1/24h,1..3/3h,5/*” Then…
Read More » -
Pizza problem – builder vs decorator
Problem Statement We need to build the software for a pizza company who wants to prepare different types of pizzas,…
Read More » -
jinfo: Command-line Peeking at JVM Runtime Configuration
In several recent blogs (in my reviews of the books Java EE 7 Performance Tuning and Optimization and WildFly Performance…
Read More » -
My Favorite IntelliJ IDEA Features
I have been a long time user (and customer) of IntelliJ IDEA. I think I have started using it around…
Read More » -
Java Concurrency Tutorial – Atomicity and race conditions
Atomicity is one of the key concepts in multi-threaded programs. We say a set of actions is atomic if they…
Read More » -
Autoboxing, Unboxing, and NoSuchMethodError
J2SE 5 introduced numerous features to the Java programming language. One of these features is autoboxing and unboxing, a feature…
Read More » -
Publish JAR artifact using Gradle to Artifactory
So I have wasted (invested) a day or two just to find out how to publish a JAR using Gradle…
Read More » -
Understanding volatile via example
We have spent last couple of months stabilizing the lock detection functionality in Plumbr. During this we have stumbled into…
Read More » -
JUnit in a Nutshell: Hello World
JUnit seems to be the most popular testing tool for developers within the Java world. So it is no wonder…
Read More »