473,324 Members | 2,196 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

which jdbc driver to use

I wonder if anyone has compared the db2 universal jdbc driver type 2
and 4 with the legacy db2 driver. Which one is the best to use ? I'm
working in a project where the envm looks like this

Solaris 10
Websphere 6.1 with app
db2 connect 9 ============================as/400 5.3

as/400 databases cataloged on db2 connect with auth SERVER_ENCRYPT

We have tested the following scenarios
1) using the universal jdbc driver and connect directly to the as/400
with securityMechanism enabled
2) using universal jdbc driver type 4 and connect to the database
cataloged on db2 connect with securityMechanism enabled
3) using the universal jdbc driver type 4 with webpshere connection
pool and connect to the database cataloged on db2 connect with
securityMechanism enabled

Should I do a test with the universal driver type 2 and/or the legacy
driver ?
/Roger

Jan 30 '07 #1
3 4953
IBM has announced "no new features will be added to the legacy drivers".
This should be a factor in your decision.

Phil Sherman
ka******@hotmail.com wrote:
I wonder if anyone has compared the db2 universal jdbc driver type 2
and 4 with the legacy db2 driver. Which one is the best to use ? I'm
working in a project where the envm looks like this

Solaris 10
Websphere 6.1 with app
db2 connect 9 ============================as/400 5.3

as/400 databases cataloged on db2 connect with auth SERVER_ENCRYPT

We have tested the following scenarios
1) using the universal jdbc driver and connect directly to the as/400
with securityMechanism enabled
2) using universal jdbc driver type 4 and connect to the database
cataloged on db2 connect with securityMechanism enabled
3) using the universal jdbc driver type 4 with webpshere connection
pool and connect to the database cataloged on db2 connect with
securityMechanism enabled

Should I do a test with the universal driver type 2 and/or the legacy
driver ?
/Roger
Jan 30 '07 #2
I found the DataDirect driver for db2 quite useful.
www.datadirect.com

Jan 31 '07 #3
On Jan 31, 5:54 pm, "andyhe" <andyhenos...@skynet.bewrote:
I found the DataDirect driver for db2 quite useful.www.datadirect.com
I would recommend the IBM Universal type 4 driver.
In our benchmarking (transaction processing), it outperformed the
DataDirect driver by miles.
But if performance is not a criteria, then the DataDirect driver is an
option.

Feb 2 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Axel Dachtler | last post by:
Hello, my Java-program can't load the JDBC driver. I always get a java.lang.NoClassDefFoundError when I run it. The JDBC Driver is in the directory: C:\programs\ora92\jdbc\lib I think I...
1
by: Ajay | last post by:
Hi, Could some please tell me whether Microsoft provides Type 2 and Type 4 jdbc driver ? For Type 4 MS provides com.microsoft.jdbc.sqlserver.SQLServerDriver driver. What is the cofiguration...
1
by: bogachkov | last post by:
Hello Joe Over the past several years, I have found your responses to jdbc usage/driver related issues to be extremely helpful. I am sure that you're very busy so I will make my question as...
0
by: Bing | last post by:
Hi, I am configuring the same DB2 v8.1 JDBC universal driver (db2jcc.jar and db2jcc_license_cisuz.jar) from DB2 SP5 fix pack under WSAD 5.1.x environment and WebSphere application Server 5.0.2...
2
by: Raquel | last post by:
Read this about the Universal JDBC Driver.... "In a Type 2 mode, the Universal JDBC driver provides local application performance gains (because it avoids using TCP/IP protocol to communicate to...
3
by: r_stringer66 | last post by:
Hi, I am trying to connect to a db2 database via a jdbc application and this is the following error I get: Exception : CLI0615E Error receiving from socket, server is not responding....
3
by: Rakesh | last post by:
Hi, I want to get connection to a DB2 database using the driver COM.ibm.db2.jdbc.DB2XADataSource. I have also included 'db2java.zip' in the classpath. However I am getting the exception ...
1
by: rpm45tech | last post by:
Hi everyone. I'm deveolping in Java with DB2 running on Win XP and everything was working ok but then I installed Vista Ultimate and the application stopped working. This is the exception showed: ...
0
by: Jim Kennedy | last post by:
ALL DDL does a commit. Hence Drop Table movies; issues a commit. True you don't issue a commit and the driver does not issue a commit, but the server does for all DDL. That is probably where...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.