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
What you can do with node manager?
Explain the performance tuning in jdbc?
How do I restrict access to servlets and jsps? : BEA Weblogic
How to configure a DB connection pool ?
What is web.xml ?
what are the new features of Webservices 1.6 than 1.4.From the interface and implementation aspect4.
What can be the reasons for server hang?
Where are the files placed while deploying the resource adapter in web logic server?
Why does for update in oracle 8 cause an ora-01002 error? : BEA Weblogic
How can default jvm be changed to others?
What are the uses of a middleware server?
Can the messaging bridge forward durable subscription messages between separate weblogic server 6.1 and release 7.0 or later domains? : BEA Weblogic
What happens when a failure occurs and the stub cannot connect to a weblogic server instance?
Do you know what is the purpose of t3 in weblogic server?
How do I identify the document type of an xml document? : BEA Weblogic