Java Database Connection-JDBC-tutorial
Java Database Connectivity (JDBC) Tutorial Table of Contents Two-Tier architecture Three-Tier architecture Types of Drivers JDBC Connection java.sql Package Classes JDBC program In this tutorial, you are going to learn how a Java program connects to a database . You will also learn about different types of architectures and also Drivers that are used to communicate java program with database. Two-Tier architecture in this tier, Java program and Database. Client program Database MoveT OC Three-Tier architecture Client program Server Database In this architecture, the client program interacts with the server program and the server program interacts with the database. The server program retrieves data and sends it to the client. → Client Program ( ex: HTML form) can't directly interact with database → Server program acts as a mediator between the client and database. It also processes the data...