NonStop Server for Java (NSJ) Programmer's Guide (NSJ 2.0+)
Examples
The following figure shows the execution of an application that has a single SIP server running in a single server
class. During configuration of the application, the configuration tool was given the following information:
PATHMON name: $SIP
Port(s): 4049
Number of concurrent clients for each server: 1
Number of static servers: 4
Number of dynamic servers: 6
Application That Has One Type of SIP Server
Legend
Clients1.
PATHMON $SIP2.
SIP distributor, which listens on port 4049 [listen(port 4049)]3.
SIP servers4.
Processors5.
Himalaya6.
Clients construct new sockets and request connections to port 4049 [Socket(\\NSJ,4049)]7.
SIP distributor accepts client requests and forwards them to SIP servers8.
SIP servers communicate with clients9.
In the following figure, the configuration is as it was in the previous example, but a new client creates a socket and
specifies port 4049. No SIP servers are available, so PATHMON starts another copy of a SIP server.