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.

| Print article | This entry was posted by on December 2, 2009 at 8:35 am, and is filed under Faqs, JDBC. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
