Nabil,
There are a couple of ways to handle your situation. Probably the best way
is to use a third-party jdbc dB2 driver, such as the one from HiT software,
http://www.hit.com
to connect to DB2. These drivers are NOT free but do work quite well.
Another solution, not the recommended one, is to setup an odbc connection to
DB2 and then use the jdbc/odbc bridge. Again, this is generally not the
suggested method for anything but prototyping and some testing.
One other possible solution would be to use a dB2 com object with a package
like JIntregra to communicate between your code and the com object.
I have successfully tried the first two methods and prefer the HiT Software
DB2 driver.
----- Original Message -----
From: Nabil Abbas <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 24, 2000 9:30 AM
Subject: JDBC-DB2 (NT)
> Hi All,
>
> I am trying to write a servlet that connects to a DB2 server using JDBC,
>
> could you please help me. I want to know how to initialize the JDBC
> driver.
>
> regards,
> Nabil
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html