Core Java
-
Design Best practices using Factory Method Pattern
In the previous Design Pattern example we have explained about a flavor of Factory pattern which is commonly used nowadays.…
Read More » -
Abstract Factory Design Pattern Explained
Abstract Factory Design Pattern is another flavor of Factory Design Pattern. This pattern can be considered as a “super factory”…
Read More » -
JavaOne 2012 Coverage
JavaOne, the annual Java extravaganza conference, took place from 30 September to 4 October in San Francisco. Numerous interesting presentations…
Read More » -
Investigating Deadlocks – Part 1
I’m sure we’ve all been there: it’s late, you’re hungry, your server has hung or your application’s running at snail’s…
Read More » -
Locking with a semaphore : An example
Concurrency is one aspect that brings along interesting challenges along with it. If not correctly handled, it brings about race…
Read More » -
Compact Off-Heap Structures/Tuples In Java
In my last post I detailed the implications of the access patterns your code takes to main memory. Since then…
Read More » -
Eclipse refactoring on steroids
In my last post about common Java violations, I listed a set of mistakes that java developers tend to make.…
Read More » -
Factory Design Pattern Case Study
I had a job to check our project code quality. And have to report it back to my team leader…
Read More » -
Java 7: Meet the Fork/Join Framework
JSR-166(y) is the official name of this new feature which is included in Java 7. If you notice there is…
Read More »