Core Java
-

Synchronized Decorators to Replace Thread-Safe Classes
You know what thread safety is, right? If not, there is a simple example below. All classes must be thread-safe,…
Read More » -

Expected Exception Rule and Mocking Static Methods – JUnit
Today I was asked to consume a RESTful service so I started implementing it following Robert Cecil Martin’s rules for…
Read More » -

Lazy-loading is a Code Smell
Have you ever seen those huge objects with many attributes? These domain objects where we are using lazy-loading because we…
Read More » -

Extracting JavaDoc documentation from source files using JavaParser
A lot of people are using JavaParser for the most different goals. One of these is extracting documentation. In this…
Read More » -

The important changes in the new ANTLR 4.6
After almost a year since the last major release, there is a new ANTLR version: 4.6. There are many news:…
Read More » -

Kanvas: generating a simple IDE from your ANTLR grammar
What is an editor? An editor is, for me, the main tool I use for work. As a Language Engineer…
Read More » -

Isolating the Domain Logic
In one design patterns class, I had an interesting discussion about modelling domain logic. Specifically, it was about isolating the…
Read More » -

Unit testing Java data classes immutability with the Mutability Detector
In all our project, we use data classes which, by definition, contain data (fields) but no (business) logic. According to…
Read More » -

[MEGA DEAL] Ultimate Java Development & Certification Guide (59% off)
Master Java Programming Concepts with This Intro to One of the World’s Most Popular Programming Languages Hey fellow geeks, This…
Read More »

