Core Java
-
A JUnit Rule to Conditionally Ignore Tests
I always believed that using @Ignore to deactivate tests is a bad idea. Except, maybe as one way to put…
Read More » -
Analyze package dependencies with structure101
One key to a stable application is a well-structured codebase. We know that we should build as many black boxes…
Read More » -
Native Java Packaging with NetBeans 7.4
One of the new features of NetBeans 7.4 that made the “NetBeans 74 NewAndNoteworthy” page is “Native Packaging,” which is…
Read More » -
3 ways of handling exceptions in JUnit. Which one to choose?
In JUnit there are 3 popular ways of handling exceptions in your test code: try-catch idiom With JUnit rule With…
Read More » -
Java: Schedule a job to run on a time interval
Recently I’ve spent some time building a set of tests around rolling upgrades between Neo4j versions and as part of…
Read More » -
A MindMap for Java Developer Interviews
Over the years I have been a panelist in many of the interviews for Java Developers. I have previously written a post…
Read More » -
Java VM – Beware of the YoungGen space
As you may have seen from our previous performance oriented articles, a healthy JVM is one of the most important…
Read More » -
What Garbage Collector are you using?
Our research labs are humming at full speed. With the recent injection of capital, we can only warrant that the…
Read More » -
Using serialization to find dirty fields in an object
Say you are developing a framework to auto-save objects into a database. You need to detect changes made between two…
Read More »