add the java server and client