Sunday 25 November 2012

java database connectivity tutorial

// siddhu vydyabhushana // 2 comments
JDBC

jdbc is a java API that is used to connect and execute query to the database .JDBC API uses jdbc drivers to connect to the database.

why use JDBC?

before JDBC,ODBC API was used to connect and execute query to the database .But ODBC API uses ODBC driver that is implemented in c , which is platform dependent and unsecured . So sun micro systems defined own API

WHAT IS API?

Application Programming Interface is a document that contains description of all featutres of a s/w.It represents classes and interfaces that software programs can follow to communicate .An API can be created for Apps, Libraries, Operation Sysytem .. etc



2 comments: