add java files and junit samples