Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     




Java Interview Questions: – Explain the main components of JDBC?

This is the most practical oriented Java Interview Questions which may be asked during the Interview by the Interviewer.

Driver Manager:

  • Manages a list of database drivers.
  • Matches connection requests from the java application with the proper database driver using communication

Driver:

  • The database communications link, handling all communication with the database.
  • Normally, once the driver is loaded, the developer need not call it explicitly.

Connection

  • Interface with all methods for contacting a database
  • Represents communication context, i.e., all communication with database is through connection object only.

Statement

  • Encapsulates an SQL statement which is passed to the database to be parsed, compiled, planned and executed.

Result Set

  • The ResultSet represents set of rows retrieved due to query execution

Data source

  • is a facility for storing data
  • Data Source may point to RDBMS, file system, any DBMS

See the following video on Inheritance between beans and Spring: -

Click for more Java interview questions

Regards,

Visit for more author’s blog on Java interview questions

Share this article   |    Print    |    Article read by 3072 times
Author:
Shivprasad Koirala
We conduct training for Java/J2EE technologies like design patterns, J2EE, Struts, Hibernate, Spring, Rich Interface etc. and likes to write articles on the same in free time.
Related Articles: No related article
Related Interview Questions: