How does Neo4j play in an OSGi environment?
All components in the Neo4j component distribution are behaving nicely in an OSGi environment – the jars are packaged as bundles, there is a sample test OSGi IMDB application in the examples section [1]. However, right now the API for Neo4j is not really tightened up, so from in the neo4j-kernel.jar not only the org.neo4j.graphdb package but all internal packages are exposed. This will be straightened out in a future release.