JDBC - Java DataBase Connectivity
A JDBC driver is a software component enabling a Java application to interact with a database. It is basically and API that lets you access virtually any tabular data source from a Java application. It supports both 2-tier and 3-tier models for database access.
There are 3 main functions of JDBC -
- Establishing a connection with a database
- Sending SQL commands to the database
- Retrieve and process the results received from the database