Long description of Figure 1: Java program creating multiple AS400 objects and socket connections for the same iSeries server (rzahh549.gif)

found in IBM® Toolbox for Java™: Managing connections

This figure illustrates how a Java program can create multiple AS400 objects, each of which has a separate socket connection to the same iSeries™ server. Creating multiple connections increases the amount of resource used on the system.

Description

The figure is composed of the following:

The Java program (the left rectangle) contains several kinds of objects that use the AS400 objects (the three small circles). Lines from these program objects connect to the AS400 objects. Each program object requires only one AS400 object to use. However, several program objects of various types can use a single AS400 object to connect to the iSeries.

Lines from the AS400 objects connect to services contained in the iSeries server (the right rectangle). The services appropriately mirror the program objects. The following list describes how the multiple program objects, three AS400 objects, and iSeries server services connect to each other: