-
Core Java
Optional in Java 8 cheat sheet
java.util.Optional<T> in Java 8 is a poor cousin of scala.Option[T] and Data.Maybe in Haskell. But this doesn’t mean it’s not…
Read More » -
Enterprise Java
50 Servlet Interview Questions and Answers
Servlets are very important topic of Java EE and all of the web applications framework such as Spring and Struts…
Read More » -
Software Development
10 More Common Mistakes Java Developers Make when Writing SQL
I was positively surprised to see how popular my recent listing about 10 Common Mistakes Java Developers Make when Writing SQL was, both…
Read More » -
Core 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 » -
Enterprise Java
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 » -
Core Java
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 » -
Software Development
KISS My YAGNI
We are all familiar with the KISS (Keep It Simple, Stupid) and YAGNI (You Ain’t Gonna Need It) principles. And…
Read More » -
Software Development
Why is your software aging?
I recently stumbled upon a term software aging. My first thoughts on the subject were not too positive, especially after…
Read More » -
Enterprise Java
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 »