A SERVICE OF

logo

Logon Components,Connections and Connection Pools
73
The TN5250 connection resource is designed to make an individual connection to the
host on an as-needed basis. The connection is made just-in-time and discarded as soon
as the client is done. It is not reused in any way. This is the type of connection resource
we created in Chapter 2 of this Guide.
The Logon Connection, on the other hand, is different. It defines a pool of User IDs
and passwords, each of which can make its own connection (TN5250). The Logon
Connection also serves as an indirection layer to allow clients to connect to the host at
exactly the point in the host program (exactly the screen) where the client needs to
start. This entry-point-location behavior is made possible by the Logon Component.
(A Logon Connection always uses a Logon Component to get to the actual
connection.) The architecture is shown in the graphic below.