Added Java samples