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 is meant by managedserver?
What are the ways in which the dns request of failed servers handled?
How do I enable debugging for the messaging bridge? : BEA Weblogic
What is meant by unicast?
Why do I get an exception when trying to find a connection factory? : BEA Weblogic
What are the ways in which weblogic servers can run on multiple machines?
When we can update the application? Is server up time or downtime?
Explain what are the transaction isolation levels supported by weblogic jdriver?
How do I use multibyte character sets with weblogic jdriver for informix? : BEA Weblogic
how to handle out of memory in weblogic? and if server is getting more requests then what we have to do in production environment?
What is unicast in weblogic?
What are the functions of t3 in the web logic server?