Core Java
-

How many threads do I need?
It depends on your application. But for those who wish to have some insight about how to squeeze out most…
Read More » -

QOTD: Java Thread vs. Java Heap Space
The following question is quite common and is related to OutOfMemoryError: unable to create new native thread problems during the…
Read More » -

The Importance of Packages
I remember approximately 15 years ago when I started learning Java. I read a lot about this ‘package’ thing and…
Read More » -

Java heap space, native heap and memory problems
Recently, I was discussing with a friend, why the Java process uses more memory than the maximum heap that we…
Read More » -

Selecting your Collections library
Is this really something you should bother? Is there something fundamentally wrong with java.util.ArrayList and java.util.HashMap? For most of the…
Read More » -

Should Java be more high level or low level?
Overview Java 8 is bringing much antisipated features such as Lambda expressions, Type Annotations and Virtual Extensions. While this functionality…
Read More » -

JUnit test method ordering
Junit until version 4.10 uses the order of test methods in a test class as returned by the reflection API…
Read More » -

Inferred exceptions in Java
It’s always nice to borrow and steal concepts and ideas from other languages. Scala’s Option is one idea I really…
Read More » -

Executing a Command Line Executable From Java
In this post we’ll deal with a common need for Java developers. Execute and manage an external process from within…
Read More »


