Java common classes and tools