code: public static void main(String[] args) {
          Actor remote = (Actor) new WebSocketConnectable()
              .actorClass(Actor.class)
              .url("ws://localhost:3999")
              .serType(SerializerType.JsonNoRef)
              .connect((x, y) -> System.out.println("disconnect " + x + " " + y)).await();
  
          remote.ask("greet","Kontraktor", 1000 )
              .then((r, e) -> System.out.println(r));
      }
docs: with Java-implemented Servers. Use typed clients meanwhile