Java training project