Core Java
-

Injecting Test Doubles in Spring using Mockito and BeanPostProcessors
I’m pretty sure that if you have ever used Spring and are familliar with unit testing, you have encountered a…
Read More » -

Almost named method arguments in JDK 8
Sometimes it would be really nice to have named method parameter in Java, this doesn’t look likely for a long…
Read More » -

Which memory is faster Heap or ByteBuffer or Direct ?
Java is becoming new C/C++ , it is extensively used in developing High Performance System. Good for millions of Java…
Read More » -

Understanding the OutOfMemoryError
Whenever you find yourself staring a stacktrace with OutOfMemoryError in it, it should all be crystal clear. The program has…
Read More » -

Securing HTTP-based APIs With Signatures
I work at EMC on a platform on top of which SaaS solutions can be built. This platform has a…
Read More » -

Erlang for Java Developers
You probably haven’t noticed, but it’s a couple of weeks since I last posted a blog. There is reason for…
Read More » -

Splitting Large XML Files in Java
Last week I was asked to write something in Java that is able to split a single 30GB XML file…
Read More » -

State Design Pattern in Java – Example Tutorial
State pattern is one of the behavioral design pattern. State design pattern is used when an Object change it’s behavior…
Read More » -

Strategy Design Pattern in Java – Example Tutorial
Strategy pattern is one of the behavioral design pattern. Strategy pattern is used when we have multiple algorithm for a…
Read More »


