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 mulicast and unicast in weblogic?

569


How to configure jms?

657


Explain the difference between dynamic and non-dynamic changes in the console?

542


How do I use os authentication with weblogic jdriver for oracle and connection pools? : BEA Weblogic

556


Can I use a native two-tier driver for a browser applet? : BEA Weblogic

522






What is wlst?

581


Can I use the getattribute() and setattribute() methods of version 2.2 of the java servlet api to parse xml documents? : BEA Weblogic

548


What happens if remove( ) is never invoked on a session bean?

524


Explain deployment descriptors?

608


Explain the different groups under web logic security?

479


How is security handled in the weblogic j2ee connector architecture? : BEA Weblogic

503


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

472


What is the nm?

545


How do I configure weblogic to use a socks proxy? : BEA Weblogic

520


How do I learn what codesets are available in oracle? : BEA Weblogic

505