
     Time zone web service

The code in this folder demonstrates a very simple "web service".

Here is a diagram of a web browser communicating with a web server that
is executing a web application for the browser and the web application
is communicating with this web service. This "web service" is in fact
just another web application running on a web server but it is not a
general purpose web server. The web server for the web service only
responds to requests made for this web service program.


 browser.exe                    server.exe            java.exe                   server.exe            java.exe
 +---------+                   +---------+   pipe   +----------+                +---------+   pipe   +----------+
 |         |       http        | port    |--------->| stdin    |     http       | port    |--------->| stdin    |
 |         |<=================>| 8080    |<---------| stdout   |<==============>| 9090    |<---------| stdout   |
 |         |   tcp connection  |         |<---------| stderr   | tcp connection |         |<---------| stderr   |
 |         |                   |         |   pipe   |          |                |         |   pipe   |          |
 +---------+                   +---------+          +----------+                +---------+          +----------+
      |                                  \          /                                     \          /
      |                                   \        /                                       \        /
      |                                    \      /                                         \      /
   +-----+                                 +------+                                         +------+
   |     |                                 |      |                                         |      |
   |     |                                 |      |                                         |      |
   +-----+                                 +------+                                         +------+
    local                                   local                                            local
    file                                    file                                             file
    system                                  system                                           system


To run this web service, you need to compile and run the web server
that is in the directory above the web service package folder.

The package folder of this web service must be in the root folder
of the web server that runs this service program.

The folder that holds the web server and this web service can be
anywhere on your computer or even on any computer connected to the
network.

The web server is configured to run on port 9090.
