ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahh_5.4.0.1/rzahh552.htm

69 lines
4.1 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="Long description of Figure 2: Java program creating a single AS400 object and socket connection for the same iSeries server (rzahh552.gif)" />
<meta name="DC.Relation" scheme="URI" content="mngcon.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="rzahh552" />
<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>Long description of Figure 2: Java program creating a single AS400 object
and socket connection for the same iSeries server (rzahh552.gif)</title>
</head>
<body id="rzahh552"><a name="rzahh552"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Long description of Figure 2: Java program creating a single AS400 object
and socket connection for the same iSeries server (rzahh552.gif)</h1>
<div><div class="section"><p><strong>found in IBM<sup>®</sup> Toolbox for Java™: Managing connections</strong></p>
<p>This
figure illustrates that having multiple program objects share a single AS400
object reduces the number of connections and the amount of resource used on
the system.</p>
</div>
<div class="section"><h4 class="sectiontitle">Description</h4><p>The figure is composed of the following:</p>
<ul><li>A rectangle on the left represents a Java program</li>
<li>A rectangle on the right represents an iSeries™ server</li>
<li>A small circle between the rectangles represents a single AS400 object
created by the Java program that connects to the iSeries server</li>
</ul>
<p>The Java program (the left rectangle) contains several kinds
of objects that use the AS400 object. Lines from these program objects connect
to the AS400 object (the small circle).</p>
<p id="rzahh552__pgmmirror"><a name="rzahh552__pgmmirror"><!-- --></a>Lines from the
AS400 object connect to services contained in the iSeries server (the right rectangle).
Each service represents a separate connection to the server. The services
appropriately mirror the program objects:</p>
<ul><li>A data queue program object uses the AS400 object, which connects to a
data queue server job</li>
<li>Two integrated file system objects uses the AS400 object, which connects
to a single file server job</li>
<li>A command call object uses the AS400 object, which connects to a command
call server job</li>
</ul>
<p>All these program objects use the same AS400 object, which creates
separate connections for each job that runs on the server. In this case,
because the integrated file system objects use the same AS400 object, they
share the same connection to and job on the server.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mngcon.htm" title="It is important to be able to create, start, and end connections to your server. The following discussion explains concepts central to managing connections to your server and also offers some code examples.">Managing connections</a></div>
</div>
</div>
</body>
</html>