Java
-
Most efficient way to increment a Map value in Java – Only search the key once
This question may be considered too basic, but is frequently asked in the forums. In this post, I will discuss…
Read More » -
Simple CRUD using Servlet 3.0, Redis/Jedis and CDI – Part 1
In this post we will build a simple user crud. The data will be stored in Redis. To interact with…
Read More » -
Adding Social Sign In to a Spring MVC Web Application: Registration and Login
The first part of this tutorial described how we can configure Spring Social 1.1.0 and Spring Security 3.2.0 but it…
Read More » -
How to read CSV files in Java – A case study of Iterator and Decorator
In this post, I will talk about how to read CSV (Comma-separated values) files using Apache Common CSV. From this…
Read More » -
Introduction to Java lambdas
The main theme of Java 8 is lambdas. I have noticed that for many Java programmers lambdas are pretty tough…
Read More » -
Configure Your OSGi Services with Apache Felix File Install
A recent post about Managed Services reminded me of a feature in Apache Felix File Install that I found worth…
Read More » -
Running out of memory without the OutOfMemoryError
This is actually a reincarnation of a post originally posted in ~2010. The flashback occurred when listening to our engineers…
Read More » -
Setting up your application server with maven
In many cases there is no way to deploy an application without the need to setup your application before. In…
Read More » -
Java7 – A look back
I started writing a blog post on what’s new in the upcoming Java8 release, and thought I would start by…
Read More »