JDBC Tutorial


JDBC Programming

Before Going further , you need to examine 2 packages for database connections. i.e

  • java.sql
  • javax.sql

These 2 packages has set of classes and interfaces , to connect to any relational database. These API(Application Programming Interface) provides common API for all databases

Java Client Can be SWING Application or AWT application, Android App or webAPP.

java.sql package mainly used in Desktop Applications
javax.sql package used in WebApplications

ADS