Got java app talking with server