Under JDBC, what object represents the DBMS that supplies you with all the
company SALES data?
A.
DataSource
B.
FileSource
C.
DSN
D.
ResultSource
E.
DataOrigin
Explanation:
According to the online Java tutorial provided by Sun at java.sun.com
A DataSource object represents a particular DBMS or some other data source, such
as a file. If a company uses more than one data source, it will deploy a separate
DataSource object for each of them. A DataSource object may be implemented in
three different ways A basic DataSource implementation-produces standard Connection objects
that are not pooled or used in a distributed transaction
A DataSource class that supports connection pooling-produces Connection objects that
participate in connection pooling, that is, connections that can be recycled
A DataSource class that supports distributed transactions-produces Connection objects
that can be used in a distributed transaction, that is, a transaction that accesses two or
more DBMS servers