New Java code samples