Core Java
-
How to use CopyOnWriteArraySet in Java with Example
CopyOnWriteArraySet is little brother of CopyOnWriteArrayList class. These are special purpose collection classes which was added on JDK 1.5, along…
Read More » -
Type safe dependency injection using Java 8.0
So I sometimes really miss old school Dependency Injection. Back when Spring was still “lightweight” we happily configured all our…
Read More » -
A closer look at the Java Identity API
Before I jump into the nitty-gritty, let’s take a look at some of the quick facts about Java Identity API…
Read More » -
Getting Started with Gradle: Our First Java Project
This blog post describes how we can compile and package a simple Java project by using Gradle. Our Java project…
Read More » -
Difference between Abstract Class and Interface in java
Some of the popular interview questions are “What are the differences between abstract class and interface”, “When will you use…
Read More » -
A little bit on the JVM and JIT
As you might be aware, the JVM (Java Virtusal Machine) is what makes it possible for Java to adhere to…
Read More » -
MineCraft and off heap memory
Overview MineCraft is a really good example of when off heap memory can really help. The key requirements are: The…
Read More » -
Java Build Tools: Ant vs Maven vs Gradle
In the beginning there was Make as the only build tool available. Later on it was improved with GNU Make.…
Read More » -
Java SE 8 new features tour: The Big change, in Java Development world
I am proudly one of the adopt-OpenJDK members like others professional team members but joined from last 8 months, and…
Read More »