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
Do you know what is the local interface used by web logic server?
What is meant by session replication?
What are the ways to avoid resourceexceptions when sending requests for databaseconnections?
What is the difference in the web.xml and weblogic.xml ?
How many way to start and stop weblogic servers?
What is meany by plugin?
What are the databases that are available to be used with the web logic j2ee connector architecture?
Why does executing the preparedstatement class cause a trunc fails: ora-00932: inconsistent datatypes error? : BEA Weblogic
What is meant by full gc and explain it?
How do I configure jdbc so that the jms jdbc store recovers automatically? : BEA Weblogic
How can the OUT OF MEMORY be solved?
What is core server tuning?
What are the disadvantages of node manager?
How to access the admin console?
What should an xpath selector look like? : BEA Weblogic