what is diff btwn JNDI&JDBC?

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


Please Help Members By Posting Answers For Below Questions

What are the different versions of nm?

539


Why do we need to remove cache?

537


What are the supported installation modes for WebLogic Server ?

737


What is node manager?

571


How to integrate sunone/netscape/iplanet with weblogic?

548






What is a non-durable topic subscriber?

538


Why would a client application use jta transactions?

501


How does sorting on message priority work? : BEA Weblogic

533


What are the States of the Weblogic Server ?

586


How to update license?

562


Define the list of pre-configured queues?

526


Explain what an application server does and it's major components.

532


How does cluster communication happen?

564


What is meant by unicast?

519


What is os tuning?

597