[ Back | Previous | Next ]

How do I connect to a Directory Server with the JNDI package?

Package:
javax.naming.*
Product:
JNDI
Release:
1.x
Related Links:
General
InitialDirContext
Comment:
JNDI stands for Java Naming
Directory Interface and is available as a seperate package for the JDK1.1.x. It's defenitly found at the Java Developer Connection. The current package (27/6/98) contains an ldap.zip and jndi libraries. The ldap.zip contains the archive ldap.jar that will enable you to connect to you Directory Server.

Together with the ldap.jar you will need providerutil.jar to correctly run your programs.

More code examples will follow...

1