Added Java polling read example