The largest Interview Solution Library on the web


Interview Questions
« Previous | 0 | 1 | 2 | 3 | 4 | Next »

21.What is a naming service?

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.

22.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.

23.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.

24.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.

25.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

26.How do we use LDAP to work with a directory service?

  • Answer:At the time of creation of the databases, the existing LDAP will receive the database server instance and the database information is provided to the LDAP directory after the creation of the databases.

  • The catalog information for the server can be retrieved for the directory of LDAP, at the time of the client’s connection to the database.

  • The catalogue information need not be stored locally on each machine for the clients.

  • The LDAP directory will be searched by the client applications for the needed information in order to connect to the database.

27.Uses of LDAP?

  • A large no. Of machines can have a common list of login users.

  • Reading accesses and responsiveness is fast.

  • LDAP can be used to cluster when failover occurs.

28.What do you know about the directory service of JNDI?

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.

29.?

30.?

31.?

32.?

33.?

34.?

35.?

36.?

37.?

38.?

39.?

40.?

« Previous | 0 | 1 | 2 | 3 | 4 | Next »


copyright © 2014 - all rights riserved by javatechnologycenter.com