Monday, July 25, 2011

JDBC or JAVA Database Connectivity - A small Introduction


Heard about JDBC or exploring it.Let see it.

What is JDBC ?
JDBC or JAVA Database Connectivity is Java application programming interface that allows the programmers or developers to access database by writing code in java.It was developed by Java soft.

What does JDBC provides ?

JDBC provides a method for querying and updating the data in RDBMS such as SQL oracle etc The Java API also provides method for dynamically loading the concerned package and drivers These drivers must be registered in JDBC driver manager.This is nothing but the backbone of JDBC architecture.It is responsible for creating JDBC connnections for performing various operations with the database such as insert,update,delete
What are important step of JDBC.

If we like to access a database a database application we must follow few steps as below
  1. Loading a database driver
  2. Creating a connection
  3. Creating a statement
  4. Creating a result-set (If required)
Hope you guys liked it.

No comments:

Post a Comment