JDBC programming is very methodical. Ninety percent (90%) of JDBC applications use the same objects and methods regardless of what you want to accomplish. For example, you always load a driver, open a connection, submit an SQL statement, andexamine the results. The details of each step vary very little from task to task.
In this Tutorial, I guide you through building a simple JDBC application from start to finish. I start by discussing how to configure JDBC. Next, I identify the common components used in all JDBC applications, and then I present a sample application and cover the discrete steps involved in it. Lastly, We see how to compile and run a JDBCapplication.
Configuring JDBC:
JDBC is an API that encapsulates the low−level calls needed for database access and interaction into one common interface. JDBC mainly contains two things.
- JDBC API
- JDBC Driver
Posted in: