Sample Java code from different projects