Core Java
-
Factory Method pattern in Java
In my previous post about the Template Method pattern, I showed how one can leverage lambda expression and default methods.…
Read More » -
Persistent breakpoints every java developer should have
When a developer is working in Java there are a few failure cases you always want to know about even…
Read More » -
Experiment with ConcurrentHashmap
I am investigating a memory issue in one of my recent projects where data is kept in memory for fast…
Read More » -
Parsing XML using DOM, SAX and StAX Parser in Java
I happen to read through a chapter on XML parsing and building APIs in Java. And I tried out the…
Read More » -
Power of Java MemoryMapped File
Power of Java MemoryMapped File In JDK 1.4 an interesting feature of Memory mapped file was added to Java, which…
Read More » -
Five advanced Java Synchronizers you probably don’t know
Besides the common synchronize which is based in the lock bit that every Java object has, you have more sophisticated…
Read More » -
Lazy sequences implementation for Java 8
I just published LazySeq library on GitHub – result of my Java 8 experiments recently. I hope you will enjoy…
Read More » -
Look At It Carefully And You Will Find Something To Improve
I propose you an exercise: when you come back to work tomorrow morning, navigate through the source code of your…
Read More » -
Minor Gotchas from migration to Java 7
After several years of pushing, we are finally starting to pull our application out of the dark ages in terms…
Read More »