Common utilities for java aplication