[EMAIL PROTECTED] wrote:

> Vilmantas Baranauskas wrote:
> > Hello,
> >
> > I have been working with Netscape LDAP SDK for Java for about 2 years. I
> > like it and I am not very enthusiastic about using JNDI instead of it.
> > There are some questions I haven't find answers to. Can you help me?
> > Sorry, if questions are off-topic as I subscribed just today.
> >
> > 1. What (and why) you prefere to use: Netscape LDAP SDK for Java or
> > JNDI? I find this questiong extremely difficult. Maybe someone could
> > point to an article argumenting the choise.
>
> Do not know of an article, but the basic difference is that JNDI can
> transverse differing namespaces. As an example, let's say you have an
> LDAP directory tree and you defined a volume object that represents a
> physical disk on a server. The "volume" object would define the volume
> such as the name, host server, etc. With JNDI, you could make it so when
> the object was double clicked, you could then display the file system
> tree of the volume, all using the same API for enumeration of the
> objects in both LDAP and the filesystem.
>
> >
> > 2. If we use JNDI, are there connection pooling solutions available? I
> > found one FAQ which says:
> > "JNDI does not provide any connection pooling mechanism. You have to
> > build it yourself if you need one. Netscape's Java SDK for LDAP has a
> > connection pooling mechanism. You could see the way it is implemented
> > (its open source) and build a similar one of your own for JNDI."
>
> Okay. Basiclly, you have to write or find your own poolling methods with
> JNDI.
>
> >
> > 3. Let say we use Netscape SDK. Is it still developed? The most recent
> > version 4.1 was released a long time ago. Are there some new releases
> > planned?
>
> I wonder this myself, especially since the SUN-AOL-Netscape mess, who
> owns and does what?

The Netscape SDK is still developed.  I'm not sure about new release schedules.  I 
know there is some work being done in the IETF
to finalize the standard Java API, but it is not complete yet.  I would imagine if and 
when the standard is finished, there will
be a new version of the API that matches the standard.

Most of the people (if not all) of the people who developed the LDAP JDK worked at 
Netscape before the iPlanet (mess) and came
back to Netscape after iPlanet.

>
>
> >
> > 4. If Netscape SDK is still developed, what about "object pool pattern"
> > for pooling?
> >
> > Thanks,
> > Vilmantas
> >
>
> You might want to look a the jLDAP sdk. http://www.openldap.org/jldap/
> -jim


Reply via email to