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

How do I programmatically get a list of queues or topics? : BEA Weblogic

523


what are the gbx,gdb and other tools in linux for core dump,and how to configure stdout,stderr..what is the difference between stdout ,stderr and coredump. how to create core dump and view that one? please can anybody explain me?

4045


Is it better to have more or fewer sessions for a given number of subscribers? : BEA Weblogic

494


What are the advantages node manager?

566


How to write a program to call the store procedure of oracle that takes no parameter?

460






What is bea weblogic? : BEA Weblogic

512


Can the messaging bridge forward durable subscription messages between separate weblogic server 6.1 and release 7.0 or later domains? : BEA Weblogic

495


What are managed servers?

514


How do you set the classpath ?

646


Explain briefly the client-server architecture.

496


What is wlst in web logic?

646


What is the difference between the sun jvm and bea jrockit jvm?

569


When we will take thread dump? Please give us some examples?

469


Explain the different versions of nm?

563


How is the logging implementation specified in web logic?

603