What is DataSource ?how can its associated with connection
pools ?

Answer Posted / faraz

DataSoource is an Interface that is an alternative to
Driver manager.It has methods :
getConnection()
getConnection(username,pwd)
...and many more..
Through JNDI it connects with database.
Or It takes from Connection pool.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to write a program to bind string values in a preparedstatement?

618


Differences between an application server and a web-server? What is the conman architecture which is used forhigh availability and load balancing describe in few lines.

484


What is the difference between development mode and production mode of weblogic server?

533


How do I provide user credentials for starting a server?

498


What is mulicast and unicast in weblogic?

560






How do I use a less than or greater than on a message selector in ejb-jar.xml? : BEA Weblogic

531


What is the nm?

536


What is the default port of weblogic admin server?

575


What is t3??

551


Is it ok to add new sessions and subscribers to a queue or topic connection once it has been started? : BEA Weblogic

574


What are the admin default ports?

656


How do stubs work in a WebLogic Server cluster ?

532


How many deployment descriptor files does a cmp entity bean deployed on the weblogic server have? : BEA Weblogic

483


How do you set the classpath ?

646


What is the difference between dynamic and non-dynamic changes in the console?

505