Hello Eelco,

> Right. I implemented this as an unmanaged extension. Now what I'm
> wondering is if I can implement the same as a server plugin.

You can - but if you already have code that works, I wouldn't bother.

> Also, somewhat related, what would be the best way to develop a server
> plugin that is a daemon? I need to write some database synchronization
> code that would run in the background, and for the sake of efficiency,
> that would best run directly in the server.

Both the unmanaged extensions and server plugins are designed to respond to 
HTTP requests and deliver HTTP responses. It's not meant to host daemon code. 
But since you can put arbitrary code in either, you could create a thread, hold 
onto it statically and have it do your bidding.

Jim

PS - your code looks sane :-)
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to