What are the two major components of JDBC?

Answers were Sorted based on User's Feedback



What are the two major components of JDBC?..

Answer / geetanjali

1.connection pool
2.Data source

Is This Answer Correct ?    20 Yes 7 No

What are the two major components of JDBC?..

Answer / priyanka

1.Driver Manager
2.Connection

Is This Answer Correct ?    10 Yes 2 No

What are the two major components of JDBC?..

Answer / ravi

JDBC has four Components:

1. The JDBC API.
2. The JDBC Driver Manager.
3. The JDBC Test Suite.
4. The JDBC-ODBC Bridge.

1. The JDBC API.

The JDBC application programming interface provides the
facility for accessing the relational database from the
Java programming language. The API technology provides the
industrial standard for independently connecting Java
programming language and a wide range of databases. The user
not only execute the SQL statements, retrieve results, and
update the data but can also access it anywhere within a
network because of it's "Write Once, Run Anywhere" (WORA)
capabilities.

Due to JDBC API technology, user can also access other
tabular data sources like spreadsheets or flat files even in
the a heterogeneous environment. JDBC application
programmming interface is a part of the Java platform that
have included Java Standard Edition (Java SE ) and the Java
Enterprise Edition (Java EE) in itself.

The JDBC API has four main interface:

The latest version of JDBC 4.0 application programming
interface is divided into two packages
i-) java.sql
ii-) javax.sql.

Java SE and Java EE platforms are included in both the packages.

2. The JDBC Driver Manager.

The JDBC Driver Manager is a very important class that
defines objects which connect Java applications to a JDBC
driver. Usually Driver Manager is the backbone of the JDBC
architecture. It's very simple and small that is used to
provide a means of managing the different types of JDBC
database driver running on an application. The main
responsibility of JDBC database driver is to load all the
drivers found in the system
properly as well as to select the most appropriate driver
from opening a connection to a database. The Driver Manager
also helps to select the most appropriate driver from the
previously loaded drivers when a new open database is
connected.

3. The JDBC Test Suite.

The function of JDBC driver test suite is to make ensure
that the JDBC drivers will run user's program or not . The
test suite of JDBC application program interface is very
useful for testing a driver based on JDBC technology during
testing period. It ensures the requirement of Java
Platform Enterprise Edition (J2EE).

4. The JDBC-ODBC Bridge.

The JDBC-ODBC bridge, also known as JDBC type 1 driver is a
database driver that utilize the ODBC driver to connect
the database. This driver translates JDBC method calls into
ODBC function calls. The Bridge implements Jdbc for any
database for which an Odbc driver is available. The Bridge
is always implemented as the sun.jdbc.odbc Java package and
it contains a native library used to access ODBC.

Is This Answer Correct ?    7 Yes 0 No

What are the two major components of JDBC?..

Answer / sukesh

JDBC Driver and JDBC API

JDBC DRIVER is different for each db , API is same
for all the DB . API is the one Application
programmers can use and which will communicate to the
underlaying Db through Driver

Is This Answer Correct ?    7 Yes 2 No

What are the two major components of JDBC?..

Answer / gajendra

The two major components of JDBC are
1.Driver
2.DriverManager

Is This Answer Correct ?    8 Yes 10 No

Post New Answer

More Core Java Interview Questions

What is visibility mode?

0 Answers  


What is the use of collections in java? How it is implemented in real time applications?

2 Answers  


Explain different states of a thread in java?

0 Answers  


How many types of operators are there?

0 Answers  


What is java util hashmap?

0 Answers  






What type of variable is gender?

0 Answers  


What is wrapper class example?

0 Answers  


Explain the difference between map and flatmap stream operation?

0 Answers  


public class BatchTest { public static void main(String[] args) { Runtime run = Runtime.getRuntime(); try { Process p = run.exec("cmd start /c D:/test.bat"); System.out.println(p.exitValue()); } catch (Exception e) { e.printStackTrace(); } System.out.println("FINISHED"); } }

0 Answers  


What is a function in programming?

0 Answers  


What are different types of control structures?

0 Answers  


How concurrent hashmap works?

0 Answers  


Categories