-
Enterprise Java
Hamcrest Matchers, Guava Predicate and Builder design pattern
Often, while coding we have to deal with some POJO objects that have dozens of fields in them. Many times…
Read More » -
Core Java
Infamous Java bugs and pitfalls
In year 2000, I was in university and was on the verge of picking a language to build my career…
Read More » -
Enterprise Java
Spring MVC Form Tutorial
This tutorial will show how to handle a form submission in Spring MVC. We will define a controller to handle…
Read More » -
Core Java
HotSpot GC Thread CPU footprint on Linux
The following question will test your knowledge on garbage collection and high CPU troubleshooting for Java applications running on Linux…
Read More » -
Software Development
Going Dawkins on god objects
Meet the enemy. Steaming stinking jungle crushing all about you, insects infesting the air, strange grunts shuddering in the foliage,…
Read More » -
Software Development
Architecture-Breaking Bugs – when a Dreamliner becomes a Nightmare
The history of computer systems is also the history of bugs, including epic, disastrous bugs that have caused millions of…
Read More » -
Scala
Scala traits implementation and interoperability. Part II: Traits linearization
This is a continuation of Scala traits implementation and interoperability. Part I: Basics. Dreadful diamond problem can be mitigated using…
Read More » -
Enterprise Java
SiftingAppender: logging different threads to different log files
One novel feature of Logback is SiftingAppender (JavaDoc). In short it’s a proxy appender that creates one child appender per…
Read More »