Java
-
Simple and lightweight pool implementation
Object pools are containers which contain a specified amount of objects. When an object is taken from the pool, it…
Read More » -
Async Servlet Feature of Servlet 3
Before we jump into understanding what Async Servlet is, let’s try to understand why do we need it. Let’s say…
Read More » -
5 Things You Didn’t Know About Synchronization in Java and Scala
Practically all server applications require some sort of synchronization between multiple threads. Most of the synchronization work is done for…
Read More » -
Servlet Upload File and Download File Example
File Upload and Download and common tasks in a java web application. Since I have written a lot about java…
Read More » -
Safely Create and Store Passwords
Nearly every time when it comes to user profiles it is necessary to manage user credentials and thus be able…
Read More » -
Apache log4j is the leading logging framework
According to a survey from Zero Turnaround Apache log4j is the leading Java logging framework. This was actually a very…
Read More » -
Spring MVC: Resources
One of the most frequent questions which I receive from my blog readers is how to use css and javascript…
Read More » -
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 » -
DI / CDI – Basics
Introduction (DI/CDI Basics) First of all, I would assume there is a bit of confusion to this, but the truth…
Read More »