File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Type 1 & Type 2 drivers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Type 1 & Type 2 drivers" Watch "Type 1 & Type 2 drivers" New topic

Type 1 & Type 2 drivers

rashmi gadgil

Joined: May 15, 2008
Posts: 6
I read a JDBC tutorial regarding the driver types.In that its mentioned that for type 1 ,ODBC libraries should be present at the client and for type 2 native libraries should be present at the client.
Can anybody please tell me what exactly is the client?Is it Frontend JSP?But I don't understand how client is coupled to JDBC>

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33130

The client it the caller. It could be standalone Java code, a servlet, etc. It is poor practice to put JDBC in a JSP though.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
I agree. Here's the link:
subject: Type 1 & Type 2 drivers
It's not a secret anymore!