FOR PRIVATE CIRCULATION 12/14/2010
ONLY.RE-DESIGNED FOR USIT
B.Tech STUDENTS.
JDBC What Does JDBC do?
JDBC makes it possible to do three things:
« Establish a connection with a database
# SendSQL statements
«# Process the results.
What is JDBC......
What is JDBC...
81) Java API for executing SQL #4) Using JDBC itis easy to send the
Statements SQL Statements to any RDBMS
#2) Set of Classes and Interfaces written such as
in Java Programming Language 1) Informix
1883. IDBC provides a standard API for 2) Ingres
tool/database developers and makes
it possible to write the database 3) MS-Access
applications using.a pure, JAVA API A) ORACLE scare
2 ume 5) Sybase etiakinn ‘
FOR PRIVATE CIRCULATION
ONLY.RE-DESIGNED FOR USIT
B.Tech STUDENTS.FOR PRIVATE CIRCULATION
ONLY.RE-DESIGNED FOR USIT
B.Tech STUDENTS.
12/14/2010
What is JDBC...
“aia Aptos
S€0DBC consists of two
parts oH ine ruavager
ease AP, apurely =
%5) With Application Program also
written in Java ,one also doesn't have
to worry about writing different Java based ABT
applications to run on different DEC Driver =
platforms. Manager, which t
i communicates with
%6) That's why corrbination of JAVA- Vendor-specific ‘ace | Sao)
JDBC has let to the evolution of
ctivers that 7
t erform the rea
concept as" Write it once , Run it Eommuniestion
auabytime , afi(WRBiS'gi'any platform,” sooalith the datsbawtsas
r
What does JDBC Do......
DBC makes it possible to do following
things
Load and Register the Driver
Establish the connection with Database
ISends the SQL Statements
Retrieve the Result.
Process the Result.
3JDBC Supports both :
3Two and Three Tier
Model Architecture
FOR PRIVATE CIRCULATION
ONLY.RE-DESIGNED FOR USIT
B.Tech STUDENTS. 2FOR PRIVATE CIRCULATION
ONLY.RE-DESIGNED FOR USIT
B.Tech STUDENTS.
12/14/2010
Two Tier Client/S:
COMMAND |
CLIENT
RESPONSE |
SERVER
Three Tier Architecture
tT
FOR PRIVATE CIRCULATION
ONLY.RE-DESIGNED FOR USIT
B.Tech STUDENTS.