Hi Daniel, I've answered your questions inline below.
On Tue, Jan 4, 2011 at 1:36 PM, Daniel Granatshtain <[email protected] > wrote: > Hi, > > I am starting integrating neo4j, and i run in to some questions on how to > use it: > > 1. I would like to use the sever version, but i also want it to be using > Neo4J-HA. Is there such configuration to change the GraphDatabaseService > instance? > This is not possible at the moment. We are working on fixing a few limitations in the HA solution (see the 1.2 release announcement for details: http://bit.ly/neo4j12) before enabling HA-mode in the server. > > 2. Having the rest api is great, but i am a little confused on the > recommended API to use. To me it looks like the best approach would be to > use RemoteGraphDatabase, but reading the documentation i see that's its not > recommended for some reason. > > > .. The implementation is not speedy enough to be used as the main access > > channel to a Graph Database for actual applications. > > > Is this still relevant? > if so what was used to interact with the remote DB before REST support? > This is very much relevant. RemoteGraphDatabase also has severe bugs when using multiple threads in the same client. RemoteGraphDatabase was developed for introspection tools, before the REST server, the recommended way of working with Neo4j was as an embedded database. Building other interfaces to the server (similar to RemoteGraphDatabase) is further down the roadmap. I don't know exactly when yet, those things will be planned in the next few weeks. > > 3. Trying to work with the Java Rest API, i tried running the traverse code > but it will not compile due to abstract class TraversalDescription. Reading > about this class, the usage in note aligned with the javadoc, which states > the object is immutable so setters return a new TraversalDescription > instance.Which > is correct and what am i missing to run that code properly? > I don't understand this question at all. When using the REST API you send JSON representations describing what you want to traverse. This is then transformed to a TraversalDescription by the server that runs these against its EmbeddedGraphDatabase. -- Tobias Ivarsson <[email protected]> Hacker, Neo Technology www.neotechnology.com Cellphone: +46 706 534857 _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

