Core Java
-

Java 8 Functional Programming: Lazy Instantiation
Singletons often instantiate themselves lazily, and sometimes, if the object is heavy enough, class fields can be instantiated lazily. Generally,…
Read More » -

Transforming Collections with Decorators
The Decorator Pattern Ever since first learning the programming design patterns, the decorator pattern has been my favorite. It seemed…
Read More » -

Using Java 8 to Prevent Excessively Wide Logs
Some logs are there to be consumed by machines and kept forever. Other logs are there just to debug and…
Read More » -

Advanced Creation of Hamcrest Matchers
Intro Last time, I went over what a Hamcrest Matcher was, how it’s used, and how to make one. In…
Read More » -

Redesigning Hamcrest
I’ve done a few posts on the Hamcrest library, and I really do enjoy using it, but there are a…
Read More » -

Java Lambdas and Low Latency
Overview The main question around the use of Lambdas in Java and Low Latency is; Does they produce garbage and…
Read More » -

Java Flight Recorder (JFR)
JFR is a Java profiler which will allow you to investigate the runtime characteristics of your code. Typically you will…
Read More » -

Using Google Guava Cache for local caching
Lot of times we would have to fetch the data from a database or another webservice or load it from…
Read More » -

JVM is down with “OutOfMemory” error – what should I do?
Amazing as it may seem, but this particular cry “From the Depths” is frequently displayed among the results of search…
Read More »


