Jovo Krneta
Jovo Krneta

Reputation: 558

Building a NEO4J based web site

Can I use NEO4J embedded in servlets and jsp to develop a web site where users will input relations between nodes and relationship properties so every user can see all the data or must I use NEO4J rest api .

Upvotes: 1

Views: 161

Answers (1)

Jatin
Jatin

Reputation: 31724

Of-course you can. On the server start up, you can probably set-up the database. Then probably using dependency Injection (in Spring etc) or by using a static reference etc, refer to the db and execute functions. On termination, db can be shutdown.

In fact I would prefer it over the rest api (It has better performance and better grip).

Upvotes: 2

Related Questions