How JDBC Works in Java?

Leave a Comment

Following is a way by which JDBC works -

  1. First of Java application establishes connection with the data source.
  2. Then Java application invokes classes and interfaces from JDBC driver for sending queries to the data source.
  3. The JDBC driver connects to corresponding database and retrieves the result.
  4. These results are based on SQL statements which are then returned to Java application.
  5. Java application then uses the retrieved information for further processing.


0 comments:

Post a Comment