I don't understand.

I thought that 'neo4j start' "ran the server database" instead of "wrapping
an embedded database", but the gremlin console in the webadmin service shows
that g is bound to an instance of "EmbeddedGraphDatabase".

> REST is right now the best way to interact with the server. Alas, there is
> the Neo4j Shell (not Gremlin, but you can execute Cypher remotely) that
> communicates with RMI instead, see ...

Actually, the REST api isn't as bad as I thought it was originally, because
it turns out I can still take advantage of Gremlin's laziness (I had missed
"17.14.5. Set script variables" in the docs).  I just have to be clever
about it.

>"g = new Neo4jGraph('/tmp/neo4j')" is what you would do from Java or an
empty Groovy shell to get hold of a new Neo4j graph database instance. In
the Neo4j server case that is already done for you. 

Right.  What if the server is sitting on an internal network at
192.168.1.14, and I want to connect to it from 192.168.1.12.  On .12 I might
say...

(import '(??))
(def g (Neo4jGraph. "192.168.1.14:7474/..."))

Or, if it didn't fully support URI's, I might just mount it.  Then,

(def g (Neo4jGraph. "/mnt/db-srv/..."))


But either way, I still need to know what to import, and what jar file needs
to be on the classpath.

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Recommended-way-to-deploy-server-software-tp3399621p3408153.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to