Java client and php params