Java
-
Natural Ids in Hibernate
A natural id is a property or a set of properties that would identify an entity uniquely. We can have…
Read More » -
Top 5 Useful Hidden Eclipse Features
Eclipse is a beast. A device whose mystery is only exceeded by its power. Some would call it a continuum…
Read More » -
Neo4j: Making implicit relationships explicit & bidirectional relationships
I recently read Michal Bachman’s post about bidirectional relationships in Neo4j in which he suggests that for some relationship types…
Read More » -
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 »