If you have DB2 client in your machine you should be able to access with both
drivers. But to use net driver you must remember three things:

1.- the service DB2 JDBC applet server must be up
2.- You must issue a command line: db2jstrt <port number>
3.- The url of your database is jdbc:db2://<hostname>:<port number>/<database>

I've used the NT version of DB2. If you use a UNIX version the process must be
analog, just deamons instead of services.


Esteban Felipe
Microsoft Certified Profesional
IBM de Venezuela S.A.
Address: Edificio IBM, Av. Ernesto Blohm, Chuao, Caracas 1060, Venezuela
TLF:  (582) - 9088379
Lotus Notes ID:  Esteban Felipe/Venezuela/Contr/IBM@VE
Internel Mail: [EMAIL PROTECTED]




Tao Bai <[EMAIL PROTECTED]> on 11/11/99 02:10:48 PM

Please respond to "A mailing list for discussion about Sun Microsystem's Java
      Servlet API Technology." <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: Esteban Felipe/Venezuela/Contr/IBM)

Subject:  Re: A little Off-topic - What's the difference between DB2 net dr
      iver & app driver?



Thanks! Currently the DB2 is installed on another machine and I can still
access to it through app driver (because I installed DB2 client on my
machine?) But I couldn't through net driver. Is there anything I forgot?

> -----Original Message-----
> From: Esteban Felipe [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, November 11, 1999 8:17 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: A little Off-topic - What's the difference between DB2
> net driver & app driver?
>
> COM.ibm.db2.jdbc.app.DB2Driver is for databases installed on the same
> machine
> that your app.
>
> COM.ibm.db2.jdbc.net.DB2Driver is for remote databases
>
> Use the "net driver" for applets or servlets that run in a different
> machine
> that the DBMS
>
>
> Esteban Felipe
> Microsoft Certified Profesional
> IBM de Venezuela S.A.
> Address: Edificio IBM, Av. Ernesto Blohm, Chuao, Caracas 1060, Venezuela
> TLF:  (582) - 9088379
> Lotus Notes ID:  Esteban Felipe/Venezuela/Contr/IBM@VE
> Internel Mail: [EMAIL PROTECTED]
>
>
>
>
> Tao Bai <[EMAIL PROTECTED]> on 11/10/99 10:22:17 PM
>
> Please respond to "A mailing list for discussion about Sun Microsystem's
> Java
>       Servlet API Technology." <[EMAIL PROTECTED]>
>
> To:   [EMAIL PROTECTED]
> cc:    (bcc: Esteban Felipe/Venezuela/Contr/IBM)
>
> Subject:  A little Off-topic - What's the difference between DB2 net
> driver
>       & app driver?
>
>
>
> Sorry for off-topic. Anybody knows what's the difference between DB2 net
> driver
> (COM.ibm.db2.jdbc.net.DB2Driver) & app driver
> (COM.ibm.db2.jdbc.app.DB2Driver)? Why there are 2 drivers.
>
> By the way, I can connect to DB2 through app driver and couldn't through
> net
> driver.
>
> Thanks
>
>

___________________________________________________________________________
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

Reply via email to