I'm struggling to implement a basic java application that uses the Traversal framework (https://neo4j.com/docs/java-reference/current/tutorial-traversal/) but maybe I just misunderstood how it's meant to be used.
I'm creating an API that should talk to the existing Neo4j database and as the Traversal interface would help me a lot in navigating through the graph, I thought to use it instead of working with Cypher. But I can't seem to figure out how to actually get the Travesal interface to use the neo4j Driver. Normally I would do something like this:
driver = GraphDatabase.driver(uri, AuthTokens.basic(user, password));
And create a transaction for each call to the database. But how can I use the driver with the Traversal?
Or can I use Traversal only when I'm using the embedded neo4j?
Thanks a lot!