Write a Java program with the following
descriptions:
NAME
todserver – thread-on demand server:
Creates a n regular threads and a maximum m on demand threads for serving todclient clients.
todclient - a client to get service from todserver.
SYNOPSIS
java todserver
java todclient
DESCRIPTION
The program behaves
exactly like Assignment #3
but instead of using xterms it creates Swing interface and
instead of using processes for echo servers it uses java Threads. No pipes, no
signals and no shared memory are required to implement this assignment.