Long description of Figure 1: Java program creating multiple AS400 objects and socket connections for the same iSeries system (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 system. Creating
multiple connections increases the amount of resource used on the system.
Description
The figure is composed of the following:
- A rectangle on the left represents a Java program
- A rectangle on the right represents an iSeries system
- Three vertically aligned small circles between the rectangles represent
AS400 objects created by the Java program that connect to the iSeries system
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 system (the right rectangle). The services appropriately mirror
the program objects. The following list describes how the multiple program objects, three AS400 objects, and iSeries system services connect to each other:
- An integrated file system program object connects to the first AS400 object, which connects to a file server job
- Another integrated file system program object connects to the second AS400 object, which connects to a second file server job
- The third AS400 objects has multiple program objects connected to it: a third integrated file system object, two data queue objects, and a command call object. The AS400 object then connects to the following services on the iSeries system: a third file server job (for the integrated file system object), a data queue server job (for the data queue objects) and a command call server job (for the command call object).