-
Core Java
Cleaner Responsibilities – Get rid of equals, compareTo and toString
Have you ever looked at the javadoc of the Object-class in Java? Probably. You tend to end up there every…
Read More » -
Software Development
Getting Started with Sample Programs for Apache Kafka 0.9
Streaming data is of growing interest to many organizations, and most applications need to use a producer-consumer model to ingest…
Read More » -
Core Java
The Best of Both Worlds
Type-Safe Views using Abstract Document Pattern How do you organize your objects? In this article I will introduce a pattern…
Read More » -
Core Java
Decrease your Java IDE lagging by fine tuning JVM Garbage Collector
Ever wondered why Eclipse/Netbeans keeps pausing for a while every now an then? Especially right at the time when you…
Read More » -
Software Development
Dear API Designer. Are You Sure, You Want to Return a Primitive?
Some APIs are set in stone. For instance, the JDK’s. Or public APIs, like the one between a database and…
Read More » -
Core Java
Make Your Factories Beautiful
Every java programmer worth the name knows about the Factory Pattern. It is a convenient and standardized way to reduce…
Read More » -
Software Development
How to install OpenShift as your private PaaS
There are very few things better for an application developer than a solid Platform as a Service (PaaS) infrastructure that…
Read More » -
Enterprise Java
Differences in JPA entity locking modes
JPA provides essentially 2 types of locking mechanisms to help synchronize access to entities. Both mechanisms prevent a scenario, where…
Read More » -
Core Java
NetBeans Java EE Tip #1 – Entity Classes From Database
The NetBeans IDE is an excellent choice for developing applications of all kind. Specifically, I use it on a daily…
Read More »