ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzamy_5.4.0.1/50/admin/refjdbcdrv.htm

48 lines
3.9 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>The IBM Toolbox for Java JDBC driver</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h5><a name="refjdbcdrv"></a>The IBM Toolbox for Java JDBC driver</h5>
<p>WebSphere Application Server - Express supports the IBM Toolbox for Java JDBC driver. This JDBC driver is included with the IBM Toolbox for Java product.</p>
<p>IBM Toolbox for Java is a library of Java classes that are optimized for accessing iSeries and AS/400 data and resources. You can use the IBM Toolbox for Java JDBC driver to access local or remote DB2 UDB for iSeries 400 databases from server-side and client-side Java applications that run on any platform that supports Java.</p>
<p>IBM Toolbox for Java is available in these versions:</p>
<ul>
<li><p><strong>IBM Toolbox for Java licensed program</strong>
<br>The licensed program is available with every i5/OS release, Version 4 Release 2 (V4R2) or later. You can install the licensed program on your iSeries system, and then either copy the IBM Toolbox for Java JAR file (jt400.jar) to your system or update your system classpath to locate the server installation. For product documentation for IBM Toolbox for Java, see <a href="../../../rzahh/page1.htm">IBM Toolbox for Java</a>.</p></li>
<li><p><strong>JTOpen</strong>
<br>JTOpen is the open source version of IBM Toolbox for Java, and is more frequently updated than the licensed program version. You can download JTOpen from the <a href="http://www.ibm.com/servers/eserver/iseries/toolbox/downloads.htm" target="_blank">IBM Toolbox for Java: Downloads</a> page. <img src="www.gif" width="18" height="15" align="absbottom" alt="Link outside Information Center" border="0"> You can also download the JTOpen Programming Guide. The guide includes instructions for installing JTOpen, as well as information about the JDBC driver.</p></li>
</ul>
<p>The JDBC driver for both versions supports JDBC 2.0. For more information about IBM Toolbox for Java and JTOpen, see the product Web site at <a href="http://www.ibm.com/servers/eserver/iseries/toolbox/index.html" target="_blank">http://www.ibm.com/servers/eserver/iseries/toolbox/index.html</a>. <img src="www.gif" width="18" height="15" align="absbottom" alt="Link outside Information Center" border="0"></p>
<p>If you are running WebSphere Application Server - Express, Version 5, on a non-iSeries platform, download the JTOpen version of IBM Toolbox for Java.</p>
<p>To configure the jt400.jar file, do the following:</p>
<ol>
<li>Download the jt400.jar file. Save the JAR file to a directory, such as /JDBCDrivers/Toolbox.</li>
<li><a href="acstart.htm">Start the administrative console</a>.</li>
<li>In the administrative console topology tree, expand <strong>Environment</strong> and click <strong>Manage WebSphere Variables</strong>.</li>
<li>Verify that the scope is set to <strong>Node</strong>.</li>
<li>Click <strong>OS400_TOOLBOX_JDBC_DRIVER_PATH</strong>.</li>
<li>In the <strong>Value</strong> field, specify the fully qualified path of the directory that contains the jt400.jar file. Do not include the jt400.jar file in this value. For example, if the file is saved in /JDBCDrivers/Toolbox, the value of the variable is /JDBCDrivers/Toolbox. This path is referenced in the jdbc-resource-provider-templates.xml file, which is used to configure JDBC resource providers.</li>
<li><a href="acsave.htm">Save the configuration</a>.</li>
</ol>
<p>To use a Toolbox JDBC driver, select <strong>UDB DB2 for iSeries (Toolbox)</strong> or <strong>UDB DB2 for iSeries (Toolbox XA)</strong> when you create a new JDBC provider. When the provider is created, the classpath field contains this value: ${OS400_TOOLBOX_JDBC_DRIVER_PATH}/jt400.jar.</p>
</body>
</html>