Core Java
-

Java 8 pitfall – Beware of Files.lines()
There’s a really nice new feature in Java8 which allows you to get a stream of Strings from a file…
Read More » -

Determining File Types in Java
Programmatically determining the type of a file can be surprisingly tricky and there have been many content-based file identification approaches…
Read More » -

Using JDK 8 Streams to Convert Between Collections of Wrapped Objects and Collections of Wrapper Objects
I have found Decorators and Adapters to be useful from time to time as I have worked with Java-based applications.…
Read More » -

The Optimum Method to Concatenate Strings in Java
Recently I was asked this question – Is it bad for performance to use the + operator to concatenate Strings in…
Read More » -

Why is my JVM having access to less memory than specified via -Xmx?
“Hey, can you drop by and take a look at something weird”. This is how I started to look into…
Read More » -

Java development tools for a programming boost !
Java developers usually try to find ways to write quality Java code, quick and efficient, to make their programming life…
Read More » -

Byteman – a swiss army knife for byte code manipulation
I am working with a bunch of communities in JBoss and there is so much interesting stuff to talk about,…
Read More » -

Java Concurrency Tutorial – Locking: Explicit locks
1. Introduction In many cases, using implicit locking is enough. Other times, we will need more complex functionalities. In such…
Read More » -

Value-Based Classes
In Java 8 some classes got a small note in Javadoc stating they are value-based classes. This includes a link…
Read More »
