Triomen
Triomen

Reputation: 56

How to have Neo4j embedded in Java applications + web interface?

In Neo4j 1.9.2, I used (code #1) :

EmbeddedNeo4j.graphDb = new GraphDatabaseFactory()
.newEmbeddedDatabaseBuilder("path")
.loadPropertiesFromFile( "configpath" )
.newGraphDatabase();
registerShutdownHook( graphDb );

to launch Embedded server. Then I used, to get access to the web interface (code #2):

WrappingNeoServerBootstrapper srv;
srv = new WrappingNeoServerBootstrapper( (GraphDatabaseAPI) graphDb, (ServerConfigurator)config);
srv.start();

Since WrappingNeoServerBootstrapper is deprecated in 1.9.5, is there still a way to get access to the web interface (code #1 is ok, but no web interface available)?

Upvotes: 0

Views: 481

Answers (1)

funglejunk
funglejunk

Reputation: 288

I only know the non-programmatical-way: Download the Neo4j community edition (Neo4j), install, start the program, and point it to your db. You can then access the web interface via localhost:7474.

Upvotes: 1

Related Questions