Skip to content

salgmachine/neoorm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 

Repository files navigation

neoorm

CDI Extension using jo4neo to bring Neo4j to Java EE 6 Applications

This Portable Extension builds upon the jo4neo ( http://code.google.com/p/jo4neo/ ) project which provides a lightweight but powerful object graph mapper for the Neo4j Database.

With this Extension you get automatic initialization and lifecycle management by the CDI container.

For example you can do something like this:

@NeoEntityManager private NeoORM orm;

@NeoEntityManager(neopath="/path/to/db/dir") private NeoORM orm;

The NeoORM object provides a jo4neo instance for the underlying database instance. (It is possible to run multiple Neo4j instances with this Extension)

The Extension can be configured in three ways:

  • by JVM Argument -Dneo.path
  • by Classpath File neo.properties in src/META-INF
  • by the neopath parameter in the @NeoEntityManager annotation

About

CDI Extension using jo4neo to bring Neo4j to Java EE 6 Applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published