In my use case, one component is written in Ruby and access the Neo4j db 
via its REST interface. Another component, written in Java, does scheduled 
operations on the same database. The Ruby component is the default 
application using Neo4j while the Java component is just an algorithm 
*triggered by a chron job* that queries a large amount of data, processes 
it, and store another bunch of data - but it does so only once or twice a 
day.

Question is, since the performance may be an issue (specially for the Java 
component accessing plenty of data at the time), is there a way for the 
java component access it in the "embedded way" while the Ruby component 
still access it using the REST API? 

One way is to start the Neo4j server in the Java application, thus having 
*both* embedded and REST:

AbstractGraphDatabase graphdb = getGraphDb();
WrappingNeoServerBootstrapper srv;
srv = new WrappingNeoServerBootstrapper( graphdb );
srv.start();
 





The problem with this approach in my case is that the Java component is 
only triggered a few times via the chron job, it executes and terminates.

Any idea to solve this?


Best regards

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to