I hadn't noticed that it wasn't included with V9 because, starting with
at least V8, the unified driver is the recommended one to use. This
driver will work with BOTH local connections and with network
connections. The following code snippet is from a program I'm working on.
dbMgr = "com.ibm.db2.jcc.DB2Driver"; // db2 universal Java
dbConn= "jdbc:db2:SAMPLE"; // CLI connection
dbConn= "jdbc:db2://127.0.0.1:50000/SAMPLE"; // TCP connection
You're correct that there is no applet service any more. You connect on
the TCP/IP port (SVCENAME) that is used by the instance. Don't forget to
set DB2COMM=tcpip in the db2 registry (db2set command).
Phil Sherman
> Folks,
>
[quoted text clipped - 9 lines]
> thx,
> H.
Hans Horn - 05 Feb 2007 09:11 GMT
Thx Phil,
that worked...
H.
>I hadn't noticed that it wasn't included with V9 because, starting with at
>least V8, the unified driver is the recommended one to use. This driver
[quoted text clipped - 24 lines]
>> thx,
>> H.