93 lines
5.7 KiB
HTML
93 lines
5.7 KiB
HTML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE html
|
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html lang="en-us" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow" />
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="DC.Type" content="reference" />
|
|
<meta name="DC.Title" content="Native optimizations when running on the iSeries JVM" />
|
|
<meta name="abstract" content="Native optimizations are a set of functions that make the IBM Toolbox for Java classes work the way a user would expect them to work when running on i5/OS. The optimizations affect operation of IBM Toolbox for Java only when running on the iSeries JVM." />
|
|
<meta name="description" content="Native optimizations are a set of functions that make the IBM Toolbox for Java classes work the way a user would expect them to work when running on i5/OS. The optimizations affect operation of IBM Toolbox for Java only when running on the iSeries JVM." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzahnm0402.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rzahnm0503" />
|
|
<meta name="DC.Language" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
|
<title>Native optimizations when running on the iSeries JVM</title>
|
|
</head>
|
|
<body id="rzahnm0503"><a name="rzahnm0503"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Native optimizations when running on the iSeries JVM</h1>
|
|
<div><p>Native optimizations are a set of functions that make the IBM<sup>®</sup> Toolbox for Java™
|
|
classes work the way a user would expect them to work when running on i5/OS™.
|
|
The optimizations affect operation of IBM Toolbox for Java only when running on the iSeries™ JVM.</p>
|
|
<div class="section"><p>It is very important to understand that your Java programs
|
|
use native optimizations only when you use the version of IBM Toolbox for Java that
|
|
matches the version of i5/OS on your server. The optimizations are:</p>
|
|
<ul><li>Signon: When no userid or password is specified in the AS400 object, the
|
|
userid and password of the current job are used</li>
|
|
<li>Directly calling i5/OS APIs instead of making socket calls to host servers:
|
|
<ul><li>Record-level database access, data queues and user space when security
|
|
requirements are met.</li>
|
|
<li>Program call and command call when security requirements and thread safety
|
|
requirements are met.</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="note"><span class="notetitle">Note:</span> For best performance, set your <a href="jdbcproperties.htm#jdbcproperties__other">JDBC
|
|
driver property</a> to use the native driver when the Java program
|
|
and database file are on the same iSeries server.<strong></strong></div>
|
|
<p>No change
|
|
to the Java application is needed to get the optimizations. IBM Toolbox
|
|
for Java automatically
|
|
enables the optimizations when appropriate.</p>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Native optimization compatibility requirements</h4><p>The
|
|
following table shows which versions of IBM Toolbox for Java LPP and i5/OS you must run to use native optimizations.
|
|
This table documents only compatibility issues that affect native optimizations.
|
|
For general compatibility issues, see <a href="rzahnm0502.htm#rzahnm0502">Compatibility
|
|
with different levels of i5/OS</a>.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr valign="bottom"><th valign="bottom" id="d0e109">Level of i5/OS</th>
|
|
<th valign="bottom" id="d0e113">IBM Toolbox for Java LPP required to use native optimizations</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr><td valign="top" headers="d0e109 ">V5R2</td>
|
|
<td valign="top" headers="d0e113 ">5722-JC1 V5R2M0</td>
|
|
</tr>
|
|
<tr><td valign="top" headers="d0e109 ">V5R3</td>
|
|
<td valign="top" headers="d0e113 ">5722-JC1 V5R3M0</td>
|
|
</tr>
|
|
<tr><td valign="top" headers="d0e109 "><img src="./delta.gif" alt="Start of change" />V5R4<img src="./deltaend.gif" alt="End of change" /></td>
|
|
<td valign="top" headers="d0e113 "><img src="./delta.gif" alt="Start of change" />5722-JC1 V5R4M0<img src="./deltaend.gif" alt="End of change" /></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p>In order to gain the performance improvements, you need to make
|
|
sure to use the jar file that includes i5/OS native optimizations. For more information,
|
|
see <a href="jarfilelist.htm#jarfilelist__jt400classic"> Note 1</a> in <a href="jarfilelist.htm#jarfilelist">Jar files</a>.</p>
|
|
<p>When the versions
|
|
of IBM Toolbox
|
|
for Java and i5/OS do
|
|
not match, native optimizations are not available. In this case, IBM Toolbox for Java works
|
|
as if it is running on a client.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzahnm0402.htm" title="Ensure that your environment meets the following requirements.">i5/OS requirements for IBM Toolbox for Java</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |