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 the function of managedconnection.addconnectioneventlistener() in web logic server?
How to write a program to bind string values in a preparedstatement?
If a java process keeps going down due to an out of memory error, what all java options would you start with that would tell you what was in memory at the time of the out of memory error?
How to write a program of web logic server to get the connection pool attribute?
How can os authentication be connected with weblogic jdriver for oracle and connection pools?
What are the States of the Weblogic Server ?
What are data-sources and what features do they offer?
How should you type cast a remote object?
What is meant by unicast?
Whenever we see a very slow response from server-side, then what all thing we need to look into?
Tell the issues faced in weblogic?
In web logic what is the msi code?