Hi Nicolas, I had done some work with embedding an OSGi environment within the server to host plugins, hoping to slowly modularize the server in a sensible way. But that code has been pulled out, as we opted for the Java ServiceLoader approach for plugins.
When deploying into an OSGi environment, I've approached it as embedded development. The server only adds the REST api (which isn't needed when talking directly to the database), and the Webadmin (replaced by the OSGi webconsole. well, except for visualization). We've been relaxed about good OSGi discipline in the server bits, because it seemed like OSGi development is embedded development. Are you developing an application in OSGi, or are you interested in replicating the server (including REST+webadmin) in OSGi? -Andreas On Apr 25, 2011, at 5:50 AM, Nicolas Jouanin wrote: > Hi, > > I think an OSGi section in the Neo4j wiki would be great. > Of course there's no problem for adding content from my documentation into > Neo4j wiki. Let me know if you want me to do it. > Concerning OSGi support for the server, I'm also working on it. Currently I'm > trying to make the server component run using HttpService for deployment, and > use OSGi services to discover the graphDb and server modules. > I have some troubles because of server and server-api packages which overlap > and protected or even private method or class declaration. > You can follow the work on github : https://github.com/njouanin/community > (currently working on move-server branch). > > Nicolas. > > Le 24 avr. 2011 à 23:17, Peter Neubauer a écrit : > >> Nicolas, >> Great and concise write-up! Would it be ok to include something along >> these lines into the documentation for neo4j that gets compiled into >> http://docs.neo4j.org/ ? An OSGi related section is certainly a good >> idea. >> >> Andreas Kollegger has been playing with the OSGi side of things >> regarding the server, but I don't know the state of it at the moment. >> Andreas, any status? >> >> Cheers, >> >> /peter neubauer >> >> GTalk: neubauer.peter >> Skype peter.neubauer >> Phone +46 704 106975 >> LinkedIn http://www.linkedin.com/in/neubauer >> Twitter http://twitter.com/peterneubauer >> >> http://www.neo4j.org - Your high performance graph database. >> http://startupbootcamp.org/ - Öresund - Innovation happens HERE. >> http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. >> >> >> >> On Mon, Apr 18, 2011 at 2:40 PM, Nicolas Jouanin >> <nicolas.joua...@gmail.com> wrote: >>> Hi, >>> >>> I've written a step-by-step guide for installing Neo4j on OSGi ( >>> http://wiki.escapek.org/display/DEV/Neo4j+community+edition+installation). >>> It is based on my own experience and currently it shows how to install Neo4j >>> community edition and opening a Embedded Graph Database from another bundle. >>> A small example is provided. >>> Next step i'd like to achieve would be a be able to only to install server, >>> webadmin or ha features but also make them running using OSGi HTTPService >>> for example. Those features could also for example look for exposed >>> GraphDatabase and then register management of webadmin features >>> automatically. >>> I don't know if it would be useful or even if that makes sense regarding >>> neo4j use cases. Let me know what you think about that. >>> >>> Nicolas. >>> _______________________________________________ >>> 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 > > _______________________________________________ > 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