Hey, The Neo4j libraries should be usable within OSGi, though we're a bit lax in keeping on top of that. The best approach would be to use one bundle to instantiate the database and advertise the reference as a service for use by other bundles.
Cheers, Andreas On Jun 1, 2011, at 8:25 PM, Super Wang wrote: > Hi folks, > > I'm new to neo4j and I'm going to embed neo4j to my OSGI environment(without > Spring) as a component, so I can keep a single instance of graph database > and can make it available for all other bundles. > > Any ideas about how to implement this? > > Thank you very much. > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user