Solve the communication problem with Java Client Side