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 » -
Clustered Idempotent Consumer Pattern with Infinispan
I’ve created a small project that shows how to use JBoss Infinispan with Apache Camel and the Idempotent Consumer Pattern…
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 » -
The dark side of Hibernate AUTO flush
Introduction Now that I described the the basics of JPA and Hibernate flush strategies, I can continue unraveling the surprising…
Read More »