× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



We had problems last year with the CLI Driver (The native Driver) which was eventually solved by applying a PTF. During the process of dealing with IBM who were suggesting various activities to capture trace data and solve the problem, the Support engineer mentioned trying the toolbox driver. He mentioned that previously the IBM recommendation was to use the native driver for code executing on i5/OS, however, he said that many performance enhancements had been made in the database host servers. The result of these changes was that the toolbox driver was now at least equivalent or sometimes superior in performance to the native driver and that had been the case for several releases.

I haven't been able to find any documentation that supports that but have no reason to believe it's not true. The guy I was dealing with in Rochester certainly seemed to know his stuff. I suspect the documentation in the JDBC FAQ has never been revisted, it's remained the same for quite a few years.

Mike




________________________________
From: James Perkins <jrperkinsjr@xxxxxxxxx>
To: Java Programming on and around the iSeries / AS400 <java400-l@xxxxxxxxxxxx>
Sent: Tuesday, 24 February, 2009 19:44:48
Subject: Re: Native vs. Pure Java (was: Issue with JDBC connection on AS400)

I don't have any performance data, but I too always use the JTOpen library.

I do think for some things the native driver is supposed to be faster
though, but I don't know how much. The JT400Native.jar is optimized for the
i. (Can't remember where I read that, but I did the other day)

Here is a quote from the JDBC FAQ:
"The Native driver runs only on the i5/OS JVM, but performs better than the
Toolbox driver when the data is on the same machine. The Toolbox driver runs
on any JVM (including the JVM shipped with i5/OS). The current general
advice is this: If your program is only intended to run on the i5/OS JVM and
the data is on the same machine, use the Native driver. If your program is
intended to run on other JVMs or the Java program is on one i5/OS system and
the data is on a different i5/OS system, use the Toolbox driver."


James R. Perkins


On Tue, Feb 24, 2009 at 11:06, David Gibbs <david@xxxxxxxxxxxx> wrote:

Ashish Kulkarni wrote:
This program works with JT400.jar on AS400, but does not work with
jt400Native.jar on AS400.

Out of curiosity, anyone know of a performance test comparing JTopen &
JT400Native's JDBC access?

Personally, I've always been using the JTopen driver even when running on
the i.

david

--
IBM i on Power -- For when you can't afford to be out of business.
--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.