aspose file tools*
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
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Type 1 & Type 2 drivers" Watch "Type 1 & Type 2 drivers" New topic
Author

Type 1 & Type 2 drivers

rashmi gadgil
Greenhorn

Joined: May 15, 2008
Posts: 6
Hi,
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>

Thanks
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30938
    
158

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
http://www.google.co.in/search?hl=en&as_q=jdbc+type+1+type+2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Type 1 & Type 2 drivers