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 » -

The minimal configuration for testing Hibernate
Introduction In my previous post I announced my intention of creating a personal Hibernate course. The first thing to start…
Read More » -

Building a simple RESTful API with Spark
Disclaimer: This post is about the Java micro web framework named Spark and not about the data processing engine Apache…
Read More » -

Out of memory: Kill process or sacrifice child
It is 6 AM. I am awake summarizing the sequence of events leading to my way-too-early wake up call. As…
Read More » -

Spring/Hibernate improved SQL logging with log4jdbc
Hibernate provides SQL logging out of the box, but such logging only shows prepared statements, and not the actual SQL…
Read More » -

Beauty and strangeness of generics
Recently, I was preparing for my Oracle Certified Professional, Java SE 7 Programmer exam and I happened to encounter some rather…
Read More » -

Performance Tuning of Spring/Hibernate Applications
For most typical Spring/Hibernate enterprise applications, the application performance depends almost entirely on the performance of it’s persistence layer. This…
Read More » -

-

Listing and filtering directory contents in NIO.2
There hasn’t been much happening in the area of listing directory contents until the release of Java 7. But since…
Read More »


