Answer Posted / sowji
NDI is a protocol / mechanism used to lookup data / information, resources from a SPI that obeys the JNDI format. JNDI is available for manipulating naming services and directory services only. Examples include JNDI trees of EJB Containers, LDAP Directory Servers etc...
http://java.sun.com/products/jndi/overview.html
JDBC is a database specific protocol that Database vendors support for Java Data Access.
http://java.sun.com/products/jdbc/overview.html
JNDI is used when your are trying to advertise and lookup data from a naming service or directory service and JDBC is used when you are querying / updating data in a Database server.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Explain the use of http ?
How to pass arugments to server through machine?
How to troubleshoot it?
What are stubs?
How does weblogic support corba and client communication via iiop? : BEA Weblogic
Can I enable requests to a jdbc connection pool for a database connection to wait until a connection is available? : BEA Weblogic
How do I start wls and configure jms? : BEA Weblogic
How can we find listineing ports in a machine?
What is weblogic application server?
What is the msi mode in weblogic? How can you enable and disable this option?
Explain the types of node manager?
Explain deployment descriptors?
What is administration server?
Do you know what type of object is returned by resultset.getobject()?
Can struck threads be killed manually?