Hi,
IBM support is right, DB2Connect makes sense only if you want to connect to mainframe databases. I don't see any reason to use DB2Connect in your situation, but may be your developer has got some more elaborate reasoning than just claiming this to be the proper way to do it.
There is another point: DB2Connect needs to be extra licensed, unless you employ an enterprise edition on your windows box, whereas the client application enabler, i.e. the DB2 client, comes free.
Johann
Quote:
Originally posted by shakin
We run a Linux Websphere 5.0 server connecting to a Win2000 DB2 UDB server using DB2 Connect. I have IBM support telling me that Websphere has built-in APIs and DB2 Connect should not be used unless connecting to mainframes or other special circumstances. Our developer (an IBM partner) says that DB2 Connect is the proper way to do it. Whom should I believe?
Also, in our properties file we have this line:
jdbcDriver=COM.ibm.db2.jdbc.app.DB2Driver
Am I correct to assume that if we weren't using DB2 Connect it would say "jdbcDriver=COM.ibm.db2.jdbc.net.DB2Driver" instead? Is changing app to net all that's needed to switch?
Thank you.
|