This is a JDBC tutorial that explains Java Database Connectivity(JDBC) and defines how a java program can communicate with a database. JDBC API has two major packages java.sql and javax.sql. JDBC architecture consist of different layers and drivers which are capable of working with any database. We hope you enjoy working through our exclusive JDBC tutorial.