JAVA Samples