Unit testing and integration testing using JUnit, Liquibase, HSQLDB, Hibernate, Maven and Spring Framework

In this article I’d like to show you how to create integration tests using JUnit, Liquibase, HSQLDB , Hibernate, Maven and Spring Framework. We will create maven project, liquibase schema/data deployment to the in-memory database and run integration tests against this database using Spring ORM / Hibernate

Read the rest of this entry »

Factory method pattern – interesting appliance

Today I’m going to talk about factory method pattern and it’s very interesting appliance. Read the rest of this entry »

HashMap complex keys

Everybody use associative arrays. They provide mapping between key and value. In this article I’ll talk about using complex keys in java.util.HashMap<K,V> Read the rest of this entry »

SyslogSessionMapper unit testing