73 lines
4.1 KiB
HTML
73 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 3: Java program getting a connection from an AS400ConnectionPool to an iSeries server (rzahh506.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="rzahh506" />
|
|
<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 3: Java program getting a connection from an
|
|
AS400ConnectionPool to an iSeries server (rzahh506.gif)</title>
|
|
</head>
|
|
<body id="rzahh506"><a name="rzahh506"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Long description of Figure 3: Java program getting a connection from an
|
|
AS400ConnectionPool to an iSeries server (rzahh506.gif)</h1>
|
|
<div><div class="section"><p><strong>found in IBM<sup>®</sup> Toolbox for Java™: Managing connections</strong></p>
|
|
<p>This
|
|
figure illustrates how you can use a connection pool to manage your connections
|
|
to an iSeries™ server.</p>
|
|
</div>
|
|
<div class="section"></div>
|
|
<div class="section"><h4 class="sectiontitle">Description</h4><p>The figure is composed of the following:</p>
|
|
<ul><li>A rectangular image on the left represents a Java application</li>
|
|
<li>A picture of an iSeries server on the right represents the server
|
|
to which the Java application wants to connect</li>
|
|
<li>An oval between the images on the left and right represents an AS400ConnectionPool
|
|
object</li>
|
|
</ul>
|
|
<p> Inside the AS400ConnectionPool (the oval) are multiple connections.
|
|
Each connection is an AS400 object, which is pictured as a small image of
|
|
an iSeries server
|
|
with a lightning bolt on it:</p>
|
|
<ul><li>A circular arrow connects the Java program (the rectangle on the left)
|
|
to the connection pool (the oval).</li>
|
|
<li>A single line connects the iSeries server (the image on the right)
|
|
to the connection pool (the oval).</li>
|
|
</ul>
|
|
<p>The top half of the circular arrow points from the AS400ConnectionPool
|
|
(the oval) to the Java application (the rectangular image
|
|
on the left). On the arrow is one of the connections from the pool, and one
|
|
of the connection images in the connection pool is faded. This represents
|
|
a connection from the connection pool being requested and used by the Java application.</p>
|
|
<p>The
|
|
bottom half of the circular arrow points from the Java application to the connection pool.
|
|
This represents the Java application returning the connection
|
|
to the connection pool.</p>
|
|
<p>The single line that connects the iSeries server
|
|
(the image on the right) to the AS400ConnectionPool (the oval) represents
|
|
socket connections to 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> |