Mohana,
You are looking at code for the embedded API (ie. a database running inside
the same java process), but you said you want to access a remote database.
This is a completely different thing. Do not use that code at all. Rather
look at the docs at
http://docs.neo4j.org/chunked/stable/server-j
I am trying to connect to remote neo4j server and perform some cypher
queries on it. I am using the reference example:
https://github.com/neo4j/neo4j/blob/2.1.4/community/cypher/docs/cypher-docs/src/test/java/org/neo4j/cypher/example/JavaQuery.java
But I do not get how to configure my code so as