Core Java
-
Java Numeric Formatting
I can think of numerous times when I have seen others write unnecessary Java code and I have written unnecessary…
Read More » -
Java Concurrency Tutorial – Thread-safe designs
After reviewing what the main risks are when dealing with concurrent programs (like atomicity or visibility), we will go through…
Read More » -
Parameterized Test Runner in JUnit
We all have written unit tests where in a single test tests for different possible input-output combinations. Lets look how…
Read More » -
Debugging OpenJDK
Sometimes debugging Java code is not enough and we need to step over the native part of Java. I spent…
Read More » -
Java Concurrency Tutorial – Visibility between threads
When sharing an object’s state between different threads, other issues besides atomicity come into play. One of them is visibility.…
Read More » -
This is Stuff: jUnit: Dynamic Tests Generation
Dynamic tests generation is useful when you need to run the same set of tests on many different input values…
Read More » -
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 »