Core Java
-
Why a synchronized StringBuffer was never a good idea
Introduction StringBuffer is a synchronized class for mutable strings. The main problem with making it synchronized is that It was…
Read More » -
Package your classes by Feature and not by Layers
Most of the enterprise Java applications share some similarities in their design. Mostly the packaging of these applications are driven…
Read More » -
Understanding Dynamic Proxy: Spring AOP Basics
Why AOP : To Understand AOP(Aspect Oriented Programming), we need to understand Cross Cutting Concerns in software development . In…
Read More » -
Infamous Java bugs and pitfalls
In year 2000, I was in university and was on the verge of picking a language to build my career…
Read More » -
HotSpot GC Thread CPU footprint on Linux
The following question will test your knowledge on garbage collection and high CPU troubleshooting for Java applications running on Linux…
Read More » -
Java 7 Update 21 Security Improvements in Detail
Oracle released three updates to Java yesterday. It is important to note that they contain several security related changes. The…
Read More » -
JDK 8 Javadoc Tweaked For Methods Listings
Since it’s beginning, Javadoc output has been largely static HTML with navigation links and simple stylesheet styling of its appearance.…
Read More » -
Arrays.sort versus Arrays.parallelSort
We all have used Arrays.sort to sort objects and primitive arrays. This API used merge sort OR Tim Sort underneath…
Read More » -
On Java 8’s introduction of Optional
I had recently discovered the JDK 8′s addition of the Optional type. The Optional type is a way to avoid…
Read More »