Hey Chris! Thanks for the pointer. I had seen some code about the OSGi packaging but I missed that piece of code. I've downloaded the latest distribution and for the packaging, it may be easier to just use a single bundle with all the apacheds-* and shared-* jars. We have already most (if not all) the other dependencies packaged as OSGi bundles available for ServiceMix. I guess I'll try that first and see how it goes. I can easily provide a patch to do that. I don't know the apacheds internals and I'm not sure if some of the jars are optional or not, so if it makes sense to deploy only a subset of these jars. If yes, it may be better to directly package those jars as bundles, provided that there is no clashes in the packages (no classes from two different jars belong to the same package).
For the ConfigurationAdmin service, there are two choices: re-implement it from scratch, or leverage the felix one and just plug in a different backend store. I would rather go the second way, as the interface to implement is quite simple: https://svn.apache.org/repos/asf/felix/trunk/configadmin/src/main/java/org/apache/felix/cm/PersistenceManager.java However, it seems that this interface is not able to notify the config admin service of any changes, so it may be easier to restart from scratch. On Thu, Oct 16, 2008 at 5:40 AM, Chris Custine <[EMAIL PROTECTED]> wrote: > Hi Guillaume, > Alex Karasulu and I were just talking about this exact same subject this > week. We also want to implement the UserAdmin spec with ApacheDS as well if > there is any interest. There was an effort last year to do some of this but > the core of ApacheDS underwent a major overhaul and is just now > stabilizing. It is also on the roadmap to package ApacheDS as OSGi bundles > which will help with embedding. > > There is some old code in the ApacheDS sandbox but it is all based on an > older version of ApacheDS and would require a lot of work. Here is the link > if you are interested: > http://svn.apache.org/repos/asf/directory/sandbox/jconlon/trunk/osgi-services/configuration-service/ > > If this is something that > > Chris > > -- > Chris Custine > My Blog :: http://blog.organicelement.com > Apache ServiceMix :: http://servicemix.apache.org > Apache Directory Server :: http://directory.apache.org > > > On Wed, Oct 15, 2008 at 2:08 PM, Guillaume Nodet <[EMAIL PROTECTED]> wrote: > >> I'd like to investigate the use of ApacheDS as a backing store for the >> ConfigurationAdmin service. >> I've googled a bit and found some emails about that, but not any >> pointer to some existing code. >> Has anyone already worked on that ? >> >> -- >> Cheers, >> Guillaume Nodet >> ------------------------ >> Blog: http://gnodet.blogspot.com/ >> ------------------------ >> Open Source SOA >> http://fusesource.com >> > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com
