Please send your Questions & Answers or Feedback to "mohan@javabook.org"

How the JDBC application works?


A JDBC application can be logically divided into two layers:
1. Driver layer
2. Application layer
Driver layer consists of DriverManager class and the available JDBC drivers.
The application begins with requesting the DriverManager for the connection.
An appropriate driver is choosen and is used for establishing the connection. This connection is given to the application which falls under the application layer.
The application uses this connection to create Statement kind of objects, through which SQL commands are sent to backend and obtain the results.

Related Posts Plugin for WordPress, Blogger...
Flag Counter