Core Java
-
Java Exception: java lang NoSuchMethodError
If you have a look at the error message java.lang.NoSuchMethodError you may understand that the Java Virtual Machine is trying…
Read More » -
Memory Access Patterns Are Important
In high-performance computing it is often said that the cost of a cache-miss is the largest performance penalty for an…
Read More » -
Java 8: Testing the Lambda Water
Java 8 is about a year away and comes with a language feature I really look forward to: Lambda Expression.…
Read More » -
Java Executor Service Types
ExecutorService feature was come with Java 5. It extends Executor interface and provides thread pool feature to execute asynchronous short…
Read More » -
Hash Length Extension Attacks
In this post I will try to leave the summer slump behind and focus on more interesting things than complaining…
Read More » -
String memory internals
This article is based on my answer on StackOverflow. I am trying to explain how String class stores the texts,…
Read More » -
IO vs. NIO – Interruptions, Timeouts and Buffers
Let’s imagine a system that sometimes needs to copy a file to a few locations, but in a way where…
Read More » -
Solve design problems using Factory Pattern
Factory design pattern is one of the most commonly used patterns in object oriented environment. It is again from the…
Read More »