Added Java Sample