Recent Posts

Singleton in Java with Enum types

less than 1 minute read

Java 1.5 introduced the concept of Enum types. They are type-safe constants, which implements equals(), hashCode() and cannot be extended. Each constant can ...

Java-Quiz: The Iterator Quiz

less than 1 minute read

Danilo sent us an interesting Java-Quiz from the Java Specialists’ Newsletter created by Olivier Croisier. You have to insert your corrective code in place o...

Eclipse Log4J template

less than 1 minute read

My friend Bruno sent me an interesting tip on how to create a Log4J template at Eclipse. Just follow these steps:

Using Hamcrest and JUnit

2 minute read

Lately I started using the core Hamcrest matchers bundled with the JUnit framework to create more readable unit tests.

The power of pair programming

1 minute read

Some weeks ago I started doing pair programming with some co-workers basically for two things: