This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC 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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
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
internet detective

Joined: May 26, 2003
Posts: 30130

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.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
Don't get me started about those stupid light bulbs.
subject: Type 1 & Type 2 drivers
Similar Threads
ODBC & JDBC Connection
Connecting natively to db2,MSSql,oracle, and access
Oracle driver query
Type 2 Vs Type 4 JDBC DRIVER
Are there 5 types of JDBC Drivers??