2010/9/21 Jacob Hansson <ja...@voltvoodoo.com>

> Hey all,
>
> I'm looking into modifying the DatabaseLocator class in neo4j-rest to allow
> connecting to remote databases (ie. letting neo4j-rest expose
> RemoteGraphDatabases via REST, enabling monitoring and management via
> webadmin of completely external projects).
>
> The change would basically just check if DB_PATH is a local file or an
> rmi:// URI, and use RemoteGraphDatabase if it is the latter. After the
> change, you could expose your internal database over RMI as normal (
> http://components.neo4j.org/neo4j-remote-graphdb/), and then specify the
> RMI
> url as your db path to neo4j-rest (how you do that depends on how you run
> the project).
>
> There would have to be some checks put into place also, since certain
> things
> won't be possible when not running an EmbeddedGraphDatabase. Some things
> may
> also need to be done a bit differently and might have to wait, like
> indexing.
>

Sure, why not!


>
> I would also like to deprecate this in the current API:
>
> DatabaseLocator.getXXX(URI baseUri)
>
> And change it for:
>
> DatabaseLocator.getXXX()
>
> Unless I am not understanding the reason for this syntax. Currently nothing
> is done with baseUri, it is simply ignored throughout DatabaseLocator. I
> assume it was meant to define the database path, but was replaced by a
> system setting instead as it is now? Neither is really a great solution,
> but
> it's confusing that there are two apparent ways to do it, and only one that
> works.
>
> Does anyone have any thoughts about this or does it all sound ok?
>

I think that those were created with some sharding in mind or something... I
don't know, but they are definately not used a.t.m.


>
> --
> Jacob Hansson
> Phone: +46 (0) 763503395
> Twitter: @jakewins
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to