As an architect I always urge fellow developers to revisit and refresh their knowledge of java.lang, java.sql and java.util packages. It is time that I applied the rule on myself. So going forward I am going to look at interfaces/classes introduced since Java 5. Today’s blog post is going to cover the newly added Java 7 AutoCloseable interface.
Category Archives: Java
File I/O: old I/O or NIO. Which is better?
Java introduced the New IO API in the 1.4 JDK release. The NIO API has been around for some time although in my experience, I have rarely seen the NIO APIs being used regularly. Developers have shown the tendency to prefer the older IO APIs of NIO.
There has been a healthy debate around whether the NIO is faster than IO. I have seen a number of articles contradicting each other. Therefore I decided to take the APIs for a spin.
Java Serialization – A Primer
Java serialization has been around since the Java version 1.1 days. This blog post just intends to be a refresher; brush the dust off the gray cells. So here goes.
Java Generics – An Introduction
Java introduced generics in its Tiger release (5.0). It has been around for some time now. I was trying to understand the nittygritties of the feature when I came around an exhaustive text on generics by Angelika Langer. Although extremely exhaustive I would prefer a shorter version for my personal understanding. So here goes…..
Great Resources and Links
Here I intend to provide a common repository to some thought provoking articles and useful resources. This is just the beginning. I intend to update this post at regular intervals.