Testing java as a server.