What is DataSource ?how can its associated with connection
pools ?
Answers were Sorted based on User's Feedback
Answer / sriram
A Data Source object enables JDBC applications to obtain a DBMS connection from a connection pool. Each Data Source object binds to the JNDI tree and points to a connection pool or MultiPool. Applications look up the Data Source on the JNDI tree and then request a connection from the Data Source.
Is This Answer Correct ? | 12 Yes | 0 No |
Answer / 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 |
JDBC datasource provides the database access and database
connection management each datasource contain the pool of
database connections,
1. In single server configuration, assign each datasource
and its associated connection pools or multiple to the server.
2.Admin server & managed server congiguration, the target
the datasource and associated with a connection pool to the
servers.
Is This Answer Correct ? | 0 Yes | 0 No |
What are the prerequisites of starting a server?
What do you understand by JDBC connection pool? What are the steps to create a connection pool in WebLogic?
What are the steps in which unicode codesets can be set with the weblogic jdriver?
What is the domain in weblogic server?
How can I run multiple instances of the same servlet class in the same weblogic server instance? : BEA Weblogic
What are the advantages of using application servers?
How do I connect to an sql server instance that is running on a machine with multiple instances of sql server 2000? : BEA Weblogic
What Is Boot.proerties File In Weblogic Server ?
How to create a connection pool ?
How do I start wls and configure jms? : BEA Weblogic
When can high usage of CPU occur?
how to change the weblogic server password?