You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Chris Custine <cc...@apache.org> on 2009/04/05 23:01:37 UTC

SLP DA status

Hi All,
I was wondering if there is any active work being done on the SLP DA for
Apache Directory?  Its been a while since I have seen any traffic on this,
but I am hoping it is still active so if Jan or anyone else has an update on
this it would be welcome.

Thanks,
Chris

--
Chris Custine
FUSESource :: http://fusesource.com
My Blog :: http://blog.organicelement.com
Apache ServiceMix :: http://servicemix.apache.org
Apache Directory Server :: http://directory.apache.org

Re: SLP DA status

Posted by Alex Karasulu <ak...@gmail.com>.
I've spoken to Julien from MINA and I think he can help with the MINA
related aspects.  I was hoping we could at least get you as a committer
Lorenz.

Alex

On Mon, Apr 6, 2009 at 11:47 AM, Chris Custine <ch...@gmail.com>wrote:

> It would be great if you could send out a message here when the source
> becomes available.  I think "protocol-slp" is definitely what I have in mind
> but it sounds like it won't be too much of a stretch to make that happen so
> hopefully we can work that out.
>
> Thanks for the info!
>
> Thanks,
> Chris
> --
> Chris Custine
> FUSESource :: http://fusesource.com
> My Blog :: http://blog.organicelement.com
> Apache ServiceMix :: http://servicemix.apache.org
> Apache Directory Server :: http://directory.apache.org
>
>
> On Mon, Apr 6, 2009 at 8:12 AM, Lorenz Breu <br...@hot-shot.com> wrote:
>
>> hi guys
>> >
>> > That's great.  How about contributing it to Directory?
>> >
>> That was the idea initially, I just built it standalone first so that I
>> could "plug in" various backends.
>>
>> >
>> > Yes this can be done.  Was just hoping something can form about SLP
>> > here at Apache.  Regardless the story goes on and anything is possible.
>> it should actually be fairly straightforward. jSLP provides a
>> getDirectoryAgent() method which kicks off the SLPCore, initializes all
>> the MINA stuff and starts running... So it's just a matter of plugging
>> it in the right spot in the directory architecture ( I guess
>> protocol-slp) and getting the SLP and ADS config "in synch". I just
>> didn't want to duplicate code by creating both a standalone jSLP
>> implementation with an embedded ADS (can of course also be "opened" by
>> starting the networking layer) and an ADS with embedded jSLP...
>>
>> I am handing in the thesis on thursday, then i'm off for a weekend of
>> celebrations ;) i hope to release next week if possible so that you can
>> look into it and provide feedback. but i have to check with jan and the
>> folks at the ETH first (legal mumbo-jumbo)
>>
>>
>

Re: SLP DA status

Posted by Chris Custine <ch...@gmail.com>.
It would be great if you could send out a message here when the source
becomes available.  I think "protocol-slp" is definitely what I have in mind
but it sounds like it won't be too much of a stretch to make that happen so
hopefully we can work that out.

Thanks for the info!

Thanks,
Chris
--
Chris Custine
FUSESource :: http://fusesource.com
My Blog :: http://blog.organicelement.com
Apache ServiceMix :: http://servicemix.apache.org
Apache Directory Server :: http://directory.apache.org


On Mon, Apr 6, 2009 at 8:12 AM, Lorenz Breu <br...@hot-shot.com> wrote:

> hi guys
> >
> > That's great.  How about contributing it to Directory?
> >
> That was the idea initially, I just built it standalone first so that I
> could "plug in" various backends.
>
> >
> > Yes this can be done.  Was just hoping something can form about SLP
> > here at Apache.  Regardless the story goes on and anything is possible.
> it should actually be fairly straightforward. jSLP provides a
> getDirectoryAgent() method which kicks off the SLPCore, initializes all
> the MINA stuff and starts running... So it's just a matter of plugging
> it in the right spot in the directory architecture ( I guess
> protocol-slp) and getting the SLP and ADS config "in synch". I just
> didn't want to duplicate code by creating both a standalone jSLP
> implementation with an embedded ADS (can of course also be "opened" by
> starting the networking layer) and an ADS with embedded jSLP...
>
> I am handing in the thesis on thursday, then i'm off for a weekend of
> celebrations ;) i hope to release next week if possible so that you can
> look into it and provide feedback. but i have to check with jan and the
> folks at the ETH first (legal mumbo-jumbo)
>
>

Re: SLP DA status

Posted by Lorenz Breu <br...@hot-shot.com>.
hi guys
>
> That's great.  How about contributing it to Directory?
>  
That was the idea initially, I just built it standalone first so that I
could "plug in" various backends.

>
> Yes this can be done.  Was just hoping something can form about SLP
> here at Apache.  Regardless the story goes on and anything is possible.
it should actually be fairly straightforward. jSLP provides a
getDirectoryAgent() method which kicks off the SLPCore, initializes all
the MINA stuff and starts running... So it's just a matter of plugging
it in the right spot in the directory architecture ( I guess
protocol-slp) and getting the SLP and ADS config "in synch". I just
didn't want to duplicate code by creating both a standalone jSLP
implementation with an embedded ADS (can of course also be "opened" by
starting the networking layer) and an ADS with embedded jSLP...

I am handing in the thesis on thursday, then i'm off for a weekend of
celebrations ;) i hope to release next week if possible so that you can
look into it and provide feedback. but i have to check with jan and the
folks at the ETH first (legal mumbo-jumbo)


Re: SLP DA status

Posted by Alex Karasulu <ak...@gmail.com>.
On Mon, Apr 6, 2009 at 3:55 AM, Lorenz Breu <br...@hot-shot.com> wrote:

> Hi Chris
>
> jSLP 2.0, which includes the DA, is basically finished and should be
> released within the next few weeks. The current implementation can use
> an embedded ADS as a backend, but currently jSLP is still a standalone
> project. The out-of-the-box jSLP DA uses a simple in-memory HashMap, but
> the code for the ADS (1.5) backend will also be released as a separate
> package.


That's great.  How about contributing it to Directory?


>
> jSLP 2.0 was developed on top of MINA, which does not support multicast
> as of yet. I did however whip up the necessary MINA code for
> multicasting over APR. The code was posted to the MINA issue tracker a
> while back, but no news from the MINA guys yet.


I will contact some people to make sure we can add this code to MINA before
2.0.  Emmanuel also may comment on this.


> I don't know what we
> will do there, maybe release that code on the jSLP page as well. That
> multicasting code didn't work for me under windows, probably due to a
> problem in tomcat native, but it worked fine under linux (32 and 64 bit).
> jSLP is an extension of jSLP and a lot of changes were made. While the
> DA part seems to work well, some features have still to be implemented,
> such as localization support and SLP security functionality (which also
> seems to be FUBAR in OpenSLP).
>
> I guess "reversing the roles" by using jSLP to build an ApacheDS DA
> shouldn't be too hard, just a matter of retrieving a DirectoryAgent von
> jSLP within ADS...
>

Yes this can be done.  Was just hoping something can form about SLP here at
Apache.  Regardless the story goes on and anything is possible.

Thanks,
Alex

Re: SLP DA status

Posted by Lorenz Breu <br...@hot-shot.com>.
Hi Chris

jSLP 2.0, which includes the DA, is basically finished and should be
released within the next few weeks. The current implementation can use
an embedded ADS as a backend, but currently jSLP is still a standalone
project. The out-of-the-box jSLP DA uses a simple in-memory HashMap, but
the code for the ADS (1.5) backend will also be released as a separate
package.
jSLP 2.0 was developed on top of MINA, which does not support multicast
as of yet. I did however whip up the necessary MINA code for
multicasting over APR. The code was posted to the MINA issue tracker a
while back, but no news from the MINA guys yet. I don't know what we
will do there, maybe release that code on the jSLP page as well. That
multicasting code didn't work for me under windows, probably due to a
problem in tomcat native, but it worked fine under linux (32 and 64 bit).
jSLP is an extension of jSLP and a lot of changes were made. While the
DA part seems to work well, some features have still to be implemented,
such as localization support and SLP security functionality (which also
seems to be FUBAR in OpenSLP).

I guess "reversing the roles" by using jSLP to build an ApacheDS DA
shouldn't be too hard, just a matter of retrieving a DirectoryAgent von
jSLP within ADS...

Hope that info helps,
Lorenz