I've been ingesting GraphML data into Gremlin/Tinkerpop with the following Java code:
graph.io(IoCore.graphml()).reader().create().readGraph(inputStream, graph);
This works great for an in-memory graph, but I'd now like ingest the same GraphML data into a remote JanusGraph that's sitting behind a Gremlin Server. This seems to me to be an obvious and straight forward thing to do, but I can't work out how to get a remote graph instance (only a traversal).
Is this possible, and if not what workarounds are there for ingesting data remotely?