Russell
Russell

Reputation: 4085

LDAP, JNDI, and Initial Context relationship

What's the relationship among LDAP, JNDI, and the Initial Context.

My understanding is JNDI is Java's way of looking up names. LDAP is a protocol which is used to look up names. But I'm not sure about initial context. Is it specific for LDAP or JNDI or none?

If somebody could give me a simple, concrete example, I would appreciate it.

Upvotes: 1

Views: 380

Answers (1)

user207421
user207421

Reputation: 311023

InitialContext is part of the JNDI API. It is basically a bootstrap mechanism.

LDAP is really more than a protocol, it is a database specification too ...

Upvotes: 1

Related Questions