• Open Database Connectivity is a standard protocol to connect a database.
    • ODBC connections are configured from windows Control Panel
  •  Java tenders  its own API to connect databases 

JDBC is a standard API, written in C, that tender access to any data source in tabular format from J2EE applications. JDBC and ODBC are interoperable It provides cross-DBMS connectivity to a wide range of SQL databases, spreadsheets, and flat files.


JDBC Architecture : model

An Example with NetBean 7.3.1