the java projects common codes