Core Java
-
Why you should control Visibility of Class and Interface in Java
One of the important aspects of software development is maintenance, and it’s proven by experience that a piece of software…
Read More » -
2 Examples to Convert Byte[] array to String in Java
Converting a byte array to String seems easy but what is difficult is, doing it correctly. Many programmers make mistake…
Read More » -
JAXB – A Newcomer’s Perspective, Part 2
In Part 1 of this series, I discussed the basics of loading data from an XML file into a database…
Read More » -
JUnit in a Nutshell: Test Isolation
Working as a consultant I still meet quite often programmers, who have at most a vague understanding of JUnit and…
Read More » -
Big Java News in Late Summer 2014
As is typical when JavaOne is imminent, there has been much big news in the Java community recently. This post…
Read More » -
Named parameters in Java
Creating a method that has many parameters is a major sin. Whenever there is need to create such a method,…
Read More » -
Java Numeric Formatting
I can think of numerous times when I have seen others write unnecessary Java code and I have written unnecessary…
Read More » -
Java Concurrency Tutorial – Thread-safe designs
After reviewing what the main risks are when dealing with concurrent programs (like atomicity or visibility), we will go through…
Read More » -
Parameterized Test Runner in JUnit
We all have written unit tests where in a single test tests for different possible input-output combinations. Lets look how…
Read More »