-
Core Java
Code4ReferenceList Recently Used(LRU) implementation using LinkedHashMap
Recently I stumbled on one of the Java interview questions: “Implement List-Recently-Used (LRU) Cache using Java collection class?” If you…
Read More » -
Core Java
Reactive Queue with Akka Reactive Streams
Reactive streams is a recently announced initiative to create a standard for asynchronous stream processing with built-in back-pressure, on the…
Read More » -
Software Development
No SRP? No TDD!
I’ve been thinking about what makes TDD fail, and there are obviously few reasons that were discussed to death (Get…
Read More » -
Android Core
How to create android dialogs in a reusable manner
Creating dialogs is a very common need in your app to show a dialog box to the user in order…
Read More » -
Core Java
Writing Clean Tests – Divide and Conquer
A good unit test should fail for only one reason. This means that a proper unit test tests only one…
Read More » -
Android Core
Android chart tutorial: AChartEngine
In this post, I will describe how to use AchartEngine. This is a great library for Android that help you…
Read More » -
Enterprise Java
ActiveMQ – Network of Brokers Explained – Part 5
In the previous part 4 we have seen how to load balance remote consumers on a queue using network connectors.…
Read More » -
Enterprise Java
Java EE7 and Maven project for newbies – part 5 – Unit testing using Arquillian / Wildfly 8
Resuming from the previous parts Part #1, Part #2, Part #3, Part #4, This is the first ‘extra’ post, based…
Read More » -
Core Java
SynchronousQueue Example in Java – Producer Consumer Solution
SynchronousQueue is special kind of BlockingQueue in which each insert operation must wait for a corresponding remove operation by another…
Read More »