Java
-

Puzzler: nested computeIfAbsent
Overview The Java 8 libraries have a new method on map, computeIfAbsent. This is very useful way to turn your…
Read More » -

How does Hibernate READ_WRITE CacheConcurrencyStrategy work
Introduction In my previous post, I introduced the NONSTRICT_READ_WRITE second-level cache concurrency mechanism. In this article, I am going to…
Read More » -

The structure of Apache Lucene
The inestimably noble Apache Software Foundation produces many of the blockbuster products (Ant, CouchDB, Hadoop, JMeter, Maven, OpenOffice, Subversion, etc.)…
Read More » -

Do Not Make This Mistake When Developing an SPI
Most of your code is private, internal, proprietary, and will never be exposed to public. If thatās the case, you…
Read More » -

Getting version string from a Maven based web application
When you package a maven project, it will automatically generate a pom.properties file inside that will contains the version, artifactId…
Read More » -

Quasar and Akka ā a Comparison
The actor model is a design pattern for fault-tolerant and highly scalable systems. Actors are independent worker-modules that communicate with…
Read More » -

What is Garbage Collection?
The followingĀ is an example fromĀ our Garbage Collection Handbook which will be published in the forthcoming weeks. In the meanwhile, take…
Read More » -

Constructors Must Be Code-Free
How much work should be done within a constructor? It seems reasonable to do some computations inside a constructor and…
Read More » -

How to Access a Methodās Result Value From the Finally Block
While the JVM is a stack-based machine, the Java language doesnāt really offer you any way to access that Stack.…
Read More »





