Monday, January 22, 2018
Java Development India
Call Us

India: +91 98422 26200
Technologies: JEE|EJB|Swing|XML|Eclipse|JBoss|Weblogic|Oracle|Ajax|Web 2.0|W3C| View More

Java APIs- Java Naming and Directory Interface-JNDI

JNDI is an API specified in Java technology that provides naming and directory functionality to applications written in the Java programming language. It is designed especially for the Java platform using Java's object model. Using JNDI, applications based on Java technology can store and retrieve named Java objects of any type. In addition, JNDI provides methods for performing standard directory operations, such as associating attributes with objects and searching for objects using their attributes. Distributed computing environments often employ naming and directory services to obtain shared components and resources.

Naming and directory services associate names with locations, services, information, and resources. Naming services provide name-to-object mappings. Directory services provide information on objects and the search tools required to locate those objects. There are many naming and directory service implementations, and the interfaces to them vary. Java Naming and Directory Interface or JNDI provides a common interface that is used to access the various naming and directory services. JNDI is an integral part of other Java programming models and technologies, such as, EJB, JavaMail, Java Database Connection Service and Java Message Service.

JNDI enables Java-platform-based applications to access multiple naming and directory services. Part of the Java Enterprise application programming interface set, JNDI makes it possible for developers to create portable applications that are enabled for a number of different naming and directory services, like DNS, NIS, LDAP and distributed object systems such as the Common Object Request Broker Architecture, Java Remote Method Invocation and Enterprise Java Beans.

JNDI is also defined independent of any specific naming or directory service implementation. It enables applications to access different, possibly multiple, naming and directory services using a common API. Different naming and directory service providers can be plugged in seamlessly behind this common API. This enables Java technology-based applications to take advantage of information in a variety of existing naming and directory services, such as LDAP, NDS, DNS, and NIS(YP), as well as enabling the applications to coexist with legacy software and systems.

Using JNDI as a tool, one can build new powerful and portable applications that not only take advantage of Java's object model but are also well-integrated with the environment in which they are deployed.

What Java Development India Offer?

Java Development India offers Java Naming and Directory Interface-JNDI consultancy from our offshore software development outsourcing centre at Kochi, Kerala in India.

Copyright 2007, Java Development India All rights reserved.