what is diff btwn JNDI&JDBC?

Answer Posted / ashok

JDBC is used to connection from DB.
JNDI is is used in connection pooling..
In weblogic server therir will be a JNDI Tree Option..
By Using Jndi we can get Certail connections from Database
at a time..and those connection will distubute to different
people...if connection are over then their will be increment
in option inserver ...we can set taht according to our
requirment..
So final statement is in JNDI we are not going to
interact(getting connection) with Database .we will in
interact with server..
But in case of JDBC we will interact with Database directly
for gettin connection

Is This Answer Correct ?    12 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the msi mode in weblogic? How can you enable and disable this option?

762


How does sorting on message priority work? : BEA Weblogic

508


What are crossdomainconnectors in reference to web logic servers?

491


How can the OUT OF MEMORY be solved?

597


What is the difference in the web.xml and weblogic.xml ?

602






A client invokes a method on a stateful session bean instance deployed in the weblogic server. While the method execution is in progress another method call arrives on the server. What will be the result? : BEA Weblogic

495


How you are getting the alerts?

521


Which is the only method defined in the javax.ejb.handle interface? : BEA Weblogic

471


How do I debug weblogic server using visual cafe 4.1? : BEA Weblogic

484


How do I use a startup class to initialize and later reference jms objects? : BEA Weblogic

489


Explain different parts available as part of jvm and describe them in few lines.

513


When configuring a source or target messaging bridge destination, do I need to set the adapter classpath field? : BEA Weblogic

511


How Can Cluster Communication Occur ?

553


I have a process running on one of my unix terminals, but I cannot close the terminal window as the process will terminate. How can I transfer this process to a background process?

624


Can you explain how can os authentication be connected with weblogic jdriver for oracle and connection pools?

500