Naming services map objects with names. It maps a reference to an object by a user friendly name. For example a machine maps its ip address. The association of an object with a name is called ‘binding’. Examples : Domain Naming Service, File systems.
Can you explain why we need JNDI if communication to systems via LDAP is possible?
JNDI is also used to lookup resources like a database or a message queue. With JNDI you get a uniform way to access directory services.
Explain the importance of JNDI
To centralize the information storage the enterprises uses LDAP. The information is of user names, passwords, email addresses, printers, determination of database access. Multiple database management is reduced by centralizing the information.
What is a directory service?
Searching for files and directories done by providing Directory services. A directory service is a set of names. The user and resource information and machine addresses are summarized by directory service. For example, for a given user name, the service returns the attributes of the user such as telephone no, email address etc. A directory service use the databases that specialized and hierarchical in design.
Tell me what do you know about LDAP?
Lightweight Directory Access Protocol
Developed by the University of Michigan.
It is a protocol for locating organizations, individuals, and other resources such as files and devices in a network, whether on the public Internet or on a corporate intranet.