An abstract Java-Server Client