Core Java
-
Parsing an Excel File into JavaBeans using jXLS
This post shows how you can use jXLS to parse an Excel file into a list of JavaBeans. Here is…
Read More » -
Adding @atomic operations to Java
Overview How might atomic operations work in Java, and is there a current alternative in OpenJDK/Hotspot it could translate to.…
Read More » -
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 »