The JNDI schema provides a standard set of APIs that are independent of the naming system

Source: Internet
Author: User
The JNDI schema provides a standard set of APIs that are independent of the naming system, which are built on the drivers associated with the naming system. This layer helps separate the app from the actual data source, so regardless of whether the app accesses LDAP, RMI, DNS, or other directory services. In other words, Jndi is independent of the specific implementation of the directory service, and the directory can be used as long as there is a directory service Provider interface (or driver). An important point to note about Jndi is that it provides an application programming interface (application programming Interface,api) and a service provider Interface (services provider INTERFACE,SPI). The real implication of this is that in order for an app to interact with a naming service or directory service, there must be a Jndi service provider for the service, which is where the Jndi SPI works. A service provider is basically a set of classes that implement JNDI interfaces for a variety of specific naming and directory services-much like the JDBC driver implements the JDBC interface for a variety of specific database systems. As an application developer, we don't have to worry about the specific implementation of the Jndi SPI. You only need to confirm that each naming or directory service you want to use has a service provider.

The JNDI schema provides a standard set of APIs that are independent of the naming system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.